Ssl Module
- 1 cert_time_to_seconds function of ssl module in python The cert_time_to_seconds() function converts a time string of format %b %d %H:%M:%S %Y %Z e.g.,Dec 10 11:23:24 2019 GMT to number of seconds elapsed since Epoch. The Python example gets the certificate of a host and converts the "notBefore” and "notAfter" fields into timestamps. 3 Mar 2020
- 2 der_cert_to_pem_cert function of ssl module in Python The function der_cert_to_pem_cert() converts a digital certificate which is in binary format(DER format) to PEM format. PEM uses Base64 encoding to encode a DER data of a certificate into ASCII text. 11 Mar 2020
- 3 get_server_certificate function of SSL module in Python The get_server_certificate() function connects to a server through the specified version of the SSL protocol and retrieves the digital certificate of the server. If CA certificates are provided the function will also validate the server certificate using the CA cerrtificates. 10 Mar 2020
- 4 Introduction to the Python SSL Module The SSL module in Python is a set of classes, functions and constants that provide cryptographic and authentication services for stream based network sockets. 31 Mar 2020
- 5 PEM_cert_to_DER_cert function of ssl module in Python The function PEM_cert_to_DER_cert() from the ssl module converts a digital certificate which is in PEM format to DER format. The Python example code retrieves the certificate of a secure host in PEM format and converts into DER format. 12 Mar 2020