NAME

Crypt::Perl::RSA::Parse - RSA key parsing

SYNOPSIS

    use Crypt::Perl::RSA::Parse ();

    # These accept either DER or PEM, native format or PKCS8/SPKI.
    my $prkey = Crypt::Perl::RSA::Parse::private($buffer);
    my $pbkey = Crypt::Perl::RSA::Parse::public($buffer);

    # Note that this accepts a structure, not raw JSON.
    my $key = Crypt::Perl::RSA::Parse::jwk($jwk_hr);

DISCUSSION

See Crypt::Perl::RSA::PrivateKey and Crypt::Perl::RSA::PublicKey for descriptions of the interfaces that this module returns.