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.
To install Crypt::NSS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::NSS
CPAN shell
perl -MCPAN -e shell install Crypt::NSS
For more information on module installation, please visit the detailed CPAN module installation guide.