MCPcopy
hub / github.com/urllib3/urllib3 / getpeercert

Method getpeercert

src/urllib3/util/ssltransport.py:175–177  ·  view source on GitHub ↗
(
        self, binary_form: typing.Literal[False] = ...
    )

Source from the content-addressed store, hash-verified

173
174 @typing.overload
175 def getpeercert(
176 self, binary_form: typing.Literal[False] = ...
177 ) -> _TYPE_PEER_CERT_RET_DICT | None: ...
178
179 @typing.overload
180 def getpeercert(self, binary_form: typing.Literal[True]) -> bytes | None: ...

Callers 3

validate_peercertFunction · 0.45
socket_handlerMethod · 0.45

Calls

no outgoing calls

Tested by 2

validate_peercertFunction · 0.36
socket_handlerMethod · 0.36