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

Method getpeercert

Lib/ssl.py:1176–1179  ·  view source on GitHub ↗
(self, binary_form=False)

Source from the content-addressed store, hash-verified

1174
1175 @_sslcopydoc
1176 def getpeercert(self, binary_form=False):
1177 self._checkClosed()
1178 self._check_connected()
1179 return self._sslobj.getpeercert(binary_form)
1180
1181 @_sslcopydoc
1182 def get_verified_chain(self):

Callers

nothing calls this directly

Calls 3

_checkClosedMethod · 0.95
_check_connectedMethod · 0.95
getpeercertMethod · 0.45

Tested by

no test coverage detected