App::CamelPKI::PrivateKey - Modelise a private key in Camel-PKI.
use App::CamelPKI::PrivateKey; my $key = parse App::CamelPKI::PrivateKey($pemstring, -format => "PEM"); my $derstring = $key->serialize(-format => "DER");
This class modelise a private key in Camel-PKI. Each instance is immutable and represents an RSA key, in text mode protected by a passphrase, or stored in a pincard or any other HSM.
Generates and returns a new RSA key of $keysize size.
Returns an instance of App::CamelPKI::PublicKey.
Returns an instance of "Crypt::OpenSSL::CA::PrivateKey" in Crypt::OpenSSL::CA which modelise the certificate, with a cache.
Performs the same job as the method of the same name in "Crypt::OpenSSL::CA::PrivateKey" in Crypt::OpenSSL::CA
To install App::CamelPKI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::CamelPKI
CPAN shell
perl -MCPAN -e shell install App::CamelPKI
For more information on module installation, please visit the detailed CPAN module installation guide.