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

Method get_unverified_chain

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

Source from the content-addressed store, hash-verified

1189
1190 @_sslcopydoc
1191 def get_unverified_chain(self):
1192 chain = self._sslobj.get_unverified_chain()
1193
1194 if chain is None:
1195 return []
1196
1197 return [cert.public_bytes(_ssl.ENCODING_DER) for cert in chain]
1198
1199 @_sslcopydoc
1200 def selected_npn_protocol(self):

Callers

nothing calls this directly

Calls 1

get_unverified_chainMethod · 0.45

Tested by

no test coverage detected