Module certificate

Source
Expand description

TLS certificates

Structs§

Fingerprint
A TLS certificates, encoded in bytes

Enums§

CertificateError

Functions§

calculate_fingerprint
Compute fingerprint from a certificate that is encoded in pem format
calculate_fingerprint_from_der
Compute fingerprint from decoded pem as binary value
decode_fingerprint
get_cn_and_san_attributes
Retrieve from the x509 the common name (a.k.a CN) and the subject alternate names (a.k.a SAN)
get_fingerprint_from_certificate_path
load_full_certificate
parse_pem
parse a pem file encoded as binary and convert it into the right structure (a.k.a Pem)
parse_x509
parse x509 certificate from PEM bytes
split_certificate_chain