MCPcopy Index your code
hub / github.com/RustPython/RustPython / get_unverified_chain

Method get_unverified_chain

Lib/ssl.py:1175–1181  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1173
1174 @_sslcopydoc
1175 def get_unverified_chain(self):
1176 chain = self._sslobj.get_unverified_chain()
1177
1178 if chain is None:
1179 return []
1180
1181 return [cert.public_bytes(_ssl.ENCODING_DER) for cert in chain]
1182
1183 @_sslcopydoc
1184 def selected_npn_protocol(self):

Callers

nothing calls this directly

Calls 2

get_unverified_chainMethod · 0.45
public_bytesMethod · 0.45

Tested by

no test coverage detected