(self, binary_form=False)
return self._sslobj.peer_certificate(binary_form)
Returns a formatted version of the data in the
        certificate provided by the other end of the SSL channel.
        Return None if no certificate was provided, {} if a
        certificate was provided, but not validated.
Returns a formatted version of the data in the
        certificate provided by the other end of the SSL channel.
        Return None if no certificate was provided, {} if a
        certificate was provided, but not validated.
Returns a formatted version of the data in the certificate provided by the other end of the SSL channel . Return None if no certificate was provided {} if a certificate was provided but not validated .
def getpeercert(self, binary_form=False):
        """Returns a formatted version of the data in the
        certificate provided by the other end of the SSL channel.
        Return None if no certificate was provided, {} if a
        certificate was provided, but not validated."""

        self._checkClosed()
        return self._sslobj.peer_certificate(binary_form)
def getpeercert ( self , binary_form = False ) : self . _checkClosed ( ) return self . _sslobj . peer_certificate ( binary_form )