MCPcopy Create free account
hub / github.com/mitmproxy/mitmproxy / public_key

Method public_key

mitmproxy/certs.py:112–113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

110 return self._cert
111
112 def public_key(self) -> CertificatePublicKeyTypes:
113 return self._cert.public_key()
114
115 def fingerprint(self) -> bytes:
116 return self._cert.fingerprint(hashes.SHA256())

Callers 8

_build_ca_with_skiMethod · 0.80
test_simpleMethod · 0.80
keyinfoMethod · 0.80
create_caFunction · 0.80
dummy_certFunction · 0.80
add_cert_fileMethod · 0.80

Calls

no outgoing calls