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

Method get_verified_chain

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

Source from the content-addressed store, hash-verified

1180
1181 @_sslcopydoc
1182 def get_verified_chain(self):
1183 chain = self._sslobj.get_verified_chain()
1184
1185 if chain is None:
1186 return []
1187
1188 return [cert.public_bytes(_ssl.ENCODING_DER) for cert in chain]
1189
1190 @_sslcopydoc
1191 def get_unverified_chain(self):

Callers

nothing calls this directly

Calls 1

get_verified_chainMethod · 0.45

Tested by

no test coverage detected