
Crypt::NSS::Certificate - X.509 certificate and related fuctions

Creates a new certificate from a Base64 encoded DER string.
Returns the DN of the issuer of the certificate.
Returns the certificates DN.
Returns the email address of the certificate if any.
Returns the certificates public key.
Verifies that the hostname in the certificate matches the given hostname pattern.
Checks if the certificate is valid for the given date and optional time. Returns -1 if the certificate has expired, 0 if it's still valid or 1 if it's not valid yet but will be in the future.
Checks if the certificate is valid now (localtime).
Returns a copy of the certificate.