Write 'data' to the SSL object and return the number of bytes written. The 'data' argument must support the buffer interface.
(self, data)
| 922 | return v |
| 923 | |
| 924 | def write(self, data): |
| 925 | """Write 'data' to the SSL object and return the number of bytes |
| 926 | written. |
| 927 | |
| 928 | The 'data' argument must support the buffer interface. |
| 929 | """ |
| 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 |