Sslcontext

7 tutorials Updated 24 Apr 2020

  1. 1 cert_store_stats() of method of SSLContext class in Python The type of X.509 certificate loaded into an SSLContext, the Certificate Revocation List vs their count is returned as a Python dictionary by the cert_store_stats() method of the SSLContext class. 15 Apr 2020
  2. 2 The SSLContext class in Python The SSLContext object in Python acts as a place to initialize SSL settings before connecting to a peer using SSL protocol. An SSLcontext object also has methods for validating the certificates and SSLSocket creation. 14 Apr 2020
  3. 3 The load_cert_chain() method of SSLContext class in Python The load_cert_chain() method loads an X.509 certificate and its private key into an SSLContext object. The loaded certificate will be used in the SSLHandshake. The Python example loads the certificate of the client and does an SSL handshake with the server. 16 Apr 2020
  4. 4 The load_verify_locations() method of SSLContext class in Python The load_verify_locations() method of SSLContext class in Python loads a set of CA certificates. CA certificates are X.509 certificates issued to certificates authorities by various levels of root authorities forming a certificate chain. 16 Apr 2020
  5. 5 SSLcontext() method of SSLcontext class in Python The SSLContext() method creates an SSLContext object which is used for storing SSL related settings and artefacts like SSL certificates, private key and CA certificates. 15 Apr 2020
  6. 6 The attribute verify_mode of SSLContext class The SSLcontext class has an attribute verify_mode. For a host, this attribute defines the certificate requirements of its peer. Certificate requirements here, means whether an X.509 certificate is expected from a peer and how to validate it if one is supplied. 24 Apr 2020
  7. 7 wrap_socket() method of SSLContext class in Python The wrap_socket() method of SSLContext class in Python creates an SSLSocket instance from a connection oriented socket. The wrap_socket() method can be used to create both server sockets as well as client sockets. 15 Apr 2020