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)
| 930 | return self._sslobj.write(data) |
| 931 | |
| 932 | def getpeercert(self, binary_form=False): |
| 933 | """Returns a formatted version of the data in the certificate provided |
| 934 | by the other end of the SSL channel. |
| 935 | |
| 936 | Return None if no certificate was provided, {} if a certificate was |
| 937 | provided, but not validated. |
| 938 | """ |
| 939 | return self._sslobj.getpeercert(binary_form) |
| 940 | |
| 941 | def selected_npn_protocol(self): |
| 942 | """Return the currently selected NPN protocol as a string, or ``None`` |
no outgoing calls
no test coverage detected