Crypt::X509 - Parses an X.509 certificate
use Crypt::X509; $cert = Crypt::X509->new( cert => $cert ); $subject_email = $cert->subject_email;
Convert::ASN1
Crypt::X509 parses X.509 certificates. Methods are provided for accessing most certificate elements.
Creates and returns a parsed X.509 certificate object.
A variable containing the DER formatted certificate to be parsed.
Returns the algorithm which the public key was created with.
Returns the certificate's public key in DER format.
Returns the certificate's version.
Returns the certificate's serial number.
Returns the certificate's signature algorithm.
Returns the certificate's beginning date of validity.
Returns the certificate's ending date of validity.
Return's the certificate's signature in DER format.
Returns the subject's country.
Returns the subject's state or province.
Returns the subject's organization.
Returns the subject's organizational unit.
Returns the subject's common name.
Returns the subject's email address.
Returns the issuer's common name.
Returns the issuer's country.
Returns the issuer's state or province.
Returns the issuer's locality.
Returns the issuer's organization.
Returns the issuer's email address.
Returns the authority's certificate serial number.
Returns the key identifier.
Returns the authority's ca.
Returns the authority's country.
Returns the authority's state.
Returns the authority's locality.
Returns the authority's organization.
Returns the authority's email.
Returns the authority's crl in DER format.
This module is based on the x509decode script, which was contributed to Convert::ASN1 in 2002 by Norbert Klasen.
Mike Jackson <mj@sci.fi>
Copyright (c) 2005 Mike Jackson <mj@sci.fi>. Copyright (c) 2001-2002 Norbert Klasen, DAASI International GmbH.
All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
2 POD Errors
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Crypt::X509, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Crypt::X509
CPAN shell
perl -MCPAN -e shell install Crypt::X509
For more information on module installation, please visit the detailed CPAN module installation guide.