close() Close the socket. All future operations on the socket object will fail. The remote end-point will receive no more data
handle_error() Called when an exception is raised and not otherwise handled. The default version prints a condensed traceback
socket.close() Mark the socket closed. The underlying system resource (e.g. a file descriptor) is also closed when all file
ssl.create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=None) Return a new SSLContext
ssl.cert_time_to_seconds(cert_time) Return the time in seconds since the Epoch, given the cert_time string representing
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
SSLSocket.get_channel_binding(cb_type="tls-unique") Get channel binding data for current connection, as a bytes object. Returns
signal.siginterrupt(signalnum, flag) Change system call restart behaviour: if flag is
socket.getservbyport(port[, protocolname]) Translate an Internet port number and protocol name to a service name for that service
class ssl.SSLObject A reduced-scope variant of SSLSocket representing an SSL protocol instance that does not contain
Page 14 of 22