MCPcopy Create free account
hub / github.com/RustPython/RustPython / get_verified_chain

Method get_verified_chain

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

Source from the content-addressed store, hash-verified

1164
1165 @_sslcopydoc
1166 def get_verified_chain(self):
1167 chain = self._sslobj.get_verified_chain()
1168
1169 if chain is None:
1170 return []
1171
1172 return [cert.public_bytes(_ssl.ENCODING_DER) for cert in chain]
1173
1174 @_sslcopydoc
1175 def get_unverified_chain(self):

Callers

nothing calls this directly

Calls 2

get_verified_chainMethod · 0.45
public_bytesMethod · 0.45

Tested by

no test coverage detected