SSLContext.verify_mode Whether to try to verify other peers’ certificates and how to behave if verification fails. This attribute
socket.send(bytes[, flags]) Send data to the socket. The socket must be connected to a remote socket. The optional flags
accept() Accept a connection. The socket must be bound to an address and listening for connections. The return value can be
write(buf) Write the bytes from buf to the memory BIO. The buf argument must be an object supporting the buffer
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
ssl.cert_time_to_seconds(cert_time) Return the time in seconds since the Epoch, given the cert_time string representing
connect(address) As with the normal socket object, address is a tuple with the first element the host to connect to
SSLSocket.get_channel_binding(cb_type="tls-unique") Get channel binding data for current connection, as a bytes object. Returns
SSLContext.wrap_bio(incoming, outgoing, server_side=False, server_hostname=None) Create a new SSLObject instance
socket.getservbyport(port[, protocolname]) Translate an Internet port number and protocol name to a service name for that service
Page 14 of 22