ciecplib.x509

X.509 functions for CIECPLib.

Functions

check_cert(cert[, hours, proxy, rfc3820])

Validate an X509 certificate.

generate_proxy(cert, key[, minhours, ...])

Generate a proxy certificate based on a certificate.

load_cert(path)

Load an X.509 certificate from file containing PEM-encoded data.

load_pkcs12(raw, password)

Load an X.509 certificate and key from a PKCS12 blob.

print_cert_info(x509[, path, display, ...])

Print info about an X.509 certificate.

time_left(cert)

Return the number of seconds left on this certificate.

write_cert(path, cert, key[, use_proxy, ...])

Write a PKCS12 certificate archive to file in X509 format.