ssl.PEM_cert_to_DER_cert(PEM_cert_string) Given a certificate as an ASCII PEM string, returns a DER-encoded sequence of bytes
socket.getprotobyname(protocolname) Translate an Internet protocol name (for example, 'icmp') to a constant suitable
ssl.RAND_pseudo_bytes(num) Return (bytes, is_cryptographic): bytes are num pseudo-random bytes, is_cryptographic is
eof A boolean indicating whether the memory BIO is current at the end-of-file position.
readline() Returns a single line, starting at the current file position and up to the next newline.
class ssl.MemoryBIO A memory buffer that can be used to pass data between Python and an SSL protocol instance.
SSLContext.load_default_certs(purpose=Purpose.SERVER_AUTH) Load a set of default “certification authority” (CA) certificates
exception socket.gaierror A subclass of
read([n]) Return a
signal.sigwait(sigset) Suspend execution of the calling thread until the delivery of one of the signals specified in the signal
Page 7 of 22