MCPcopy Index your code
hub / github.com/python/cpython / cipher

Method cipher

Lib/ssl.py:929–932  ·  view source on GitHub ↗

Return the currently selected cipher as a 3-tuple ``(name, ssl_version, secret_bits)``.

(self)

Source from the content-addressed store, hash-verified

927 return self._sslobj.selected_alpn_protocol()
928
929 def cipher(self):
930 """Return the currently selected cipher as a 3-tuple ``(name,
931 ssl_version, secret_bits)``."""
932 return self._sslobj.cipher()
933
934 def group(self):
935 """Return the currently selected key agreement group name."""

Callers 15

cipherMethod · 0.45
test_bio_handshakeMethod · 0.45
test_ciphersuitesMethod · 0.45
wrap_connMethod · 0.45
server_params_testFunction · 0.45
test_getpeercertMethod · 0.45
test_ecc_certMethod · 0.45
test_dual_rsa_eccMethod · 0.45
test_tls1_3Method · 0.45

Calls

no outgoing calls

Tested by 12

test_bio_handshakeMethod · 0.36
test_ciphersuitesMethod · 0.36
wrap_connMethod · 0.36
server_params_testFunction · 0.36
test_getpeercertMethod · 0.36
test_ecc_certMethod · 0.36
test_dual_rsa_eccMethod · 0.36
test_tls1_3Method · 0.36
check_ssl_extra_infoMethod · 0.36