Dan Sully > Crypt-OpenSSL-PKCS12-0.6 > Crypt::OpenSSL::PKCS12

Download:
Crypt-OpenSSL-PKCS12-0.6.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.6   Source   Latest Release: Crypt-OpenSSL-PKCS12-0.7

NAME ^

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

SYNOPSIS ^

  use Crypt::OpenSSL::PKCS12;

  my $pass   = "your password";
  my $pkcs12 = Crypt::OpenSSL::PKCS12->new_from_file('cert.p12');

  print $pkcs12->certificate($pass);
  print $pkcs12->private_key($pass);

  if ($pkcs12->mac_ok($pass)) {
  ....

  $pkcs12->create('test-cert.pem', 'test-key.pem', $pass, 'out.p12', "friendly name");

ABSTRACT ^

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

DESCRIPTION ^

  This implements a small bit of OpenSSL's PKCS12 API.

FUNCTIONS ^

EXPORT ^

None by default.

On request:

SEE ALSO ^

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

AUTHOR ^

Dan Sully, <daniel@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright 2004-2012 by Dan Sully

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: