ssl.DER_cert_to_PEM_cert(DER_cert_bytes) Given a certificate as a DER-encoded blob of bytes, returns a PEM-encoded string version
class asyncore.file_wrapper A file_wrapper takes an integer file descriptor and calls
ssl.cert_time_to_seconds(cert_time) Return the time in seconds since the Epoch, given the cert_time string representing
socket.ioctl(control, option)
bind(address) Bind the socket to address. The socket must not already be bound. (The format of address depends
seek(pos[, whence]) Set the file’s current position. whence argument is optional and defaults to os.SEEK_SET
ssl.get_server_certificate(addr, ssl_version=PROTOCOL_SSLv23, ca_certs=None) Given the address addr of an SSL-protected
tell() Returns the current position of the file pointer.
SSLSocket.write(buf) Write buf to the SSL socket and return the number of bytes written. The buf argument
ssl.OP_NO_TLSv1_1 Prevents a TLSv1.1 connection. This option is only applicable in conjunction with PROTOCOL_SSLv23
Page 15 of 22