Dan Sully > Crypt-OpenSSL-X509-0.7 > Crypt::OpenSSL::X509

Download:
Crypt-OpenSSL-X509-0.7.tar.gz

Dependencies

Annotate this POD

Related Modules

Net::SSLeay
more...
By perlmonks.org

CPAN RT

Open  0
Report a bug
Module Version: 0.7   Source  

NAME ^

Crypt::OpenSSL::X509 - Perl extension to OpenSSL's X509 API.

SYNOPSIS ^

  use Crypt::OpenSSL::X509;

  my $x509 = Crypt::OpenSSL::X509->new_from_file('cert.pem');

  print $x509->pubkey() . "\n";
  print $x509->subject() . "\n";
  print $x509->issuer() . "\n";
  print $x509->email() . "\n";
  print $x509->hash() . "\n";
  print $x509->notBefore() . "\n";
  print $x509->notAfter() . "\n";

ABSTRACT ^

  Crypt::OpenSSL::X509 - Perl extension to OpenSSL's X509 API.

DESCRIPTION ^

  This implement a large majority of OpenSSL's useful X509 API.

  The email() method supports both certificates where the
  subject is of the form: 
  "... CN=Firstname lastname/emailAddress=user@domain", and also 
  certificates where there is a X509v3 Extension of the form 
  "X509v3 Subject Alternative Name: email=user@domain".

EXPORT

None by default.

On request:

        FORMAT_UNDEF FORMAT_ASN1 FORMAT_TEXT FORMAT_PEM FORMAT_NETSCAPE
        FORMAT_PKCS12 FORMAT_SMIME FORMAT_ENGINE FORMAT_IISSGC

SEE ALSO ^

OpenSSL(1), Crypt::OpenSSL::RSA, Crypt::OpenSSL::Bignum

AUTHOR ^

Dan Sully, <daniel@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2004-2008 by Dan Sully

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.