Convert::SSH2::Format::PKCS1 - Format SSH key data as PKCS1
This module formats SSH2 RSA public keys as PKCS1 strings.
Generally, you shouldn't instantiate this class on its own. It will be called by Convert::SSH2 when needed.
Holds an ASN converter. Defaults to Convert::ASN1.
The ASN encoding template.
Defaults to:
RSAPublicKey ::= SEQUENCE { modulus INTEGER, -- n publicExponent INTEGER -- e }
Returns a PKCS#1 formatted string, given n and e.
n
e
Convert::SSH2
To install Convert::SSH2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Convert::SSH2
CPAN shell
perl -MCPAN -e shell install Convert::SSH2
For more information on module installation, please visit the detailed CPAN module installation guide.