Write 'data' to the SSL object and return the number of bytes written. The 'data' argument must support the buffer interface.
(self, data)
| 869 | return v |
| 870 | |
| 871 | def write(self, data): |
| 872 | """Write 'data' to the SSL object and return the number of bytes |
| 873 | written. |
| 874 | |
| 875 | The 'data' argument must support the buffer interface. |
| 876 | """ |
| 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 |