NAME

Crypt::Perl::PK - Public-key cryptography logic

SYNOPSIS

#Will be an instance of the appropriate Crypt::Perl key class,
#i.e., one of:
#
#   Crypt::Perl::RSA::PrivateKey
#   Crypt::Perl::RSA::PublicKey
#   Crypt::Perl::ECDSA::PrivateKey
#   Crypt::Perl::ECDSA::PublicKey
#
my $key_obj = Crypt::Perl::PK::parse_jwk( { .. } );

#Likewise. Feed it public or private, DER or PEM format,
#RSA or ECDSA.
my $key_obj = Crypt::Perl::PK::parse_key( $octet_string );

DISCUSSION

As of now there’s not much of interest to find here except parsing of JWKs.