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, binary_form=False)
| 877 | return self._sslobj.write(data) |
| 878 | |
| 879 | def getpeercert(self, binary_form=False): |
| 880 | """Returns a formatted version of the data in the certificate provided |
| 881 | by the other end of the SSL channel. |
| 882 | |
| 883 | Return None if no certificate was provided, {} if a certificate was |
| 884 | provided, but not validated. |
| 885 | """ |
| 886 | return self._sslobj.getpeercert(binary_form) |
| 887 | |
| 888 | def get_verified_chain(self): |
| 889 | """Returns verified certificate chain provided by the other |
no outgoing calls