
App::CamelPKI::PublicKey - Public key model for App-PKI.

use App::CamelPKI::PublicKey; my $key = parse App::CamelPKI::PublicKey($pemstring, -format => "PEM"); my $pemstring = $key->serialize(-format => "DER");

This class modelise a public key in App-PKI. Each instance is immutable and represetns a public key (RSA only for now).

Returns an instance of "Crypt::OpenSSL::CA::PublicKey" in Crypt::OpenSSL::CA which modelise the certificate, with a cache.
Perform the same things as the same method in "Crypt::OpenSSL::CA::PublicKey" in Crypt::OpenSSL::CA
Returns true if, and only if, an other object of the same App::CamelPKI::PublicKey class modelize the same key.