Mark Allen > Convert-SSH2-0.01 > Convert::SSH2::Format::PKCS1

Download:
Convert-SSH2-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Convert::SSH2::Format::PKCS1 - Format SSH key data as PKCS1

PURPOSE ^

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.

ATTRIBUTES ^

asn

Holds an ASN converter. Defaults to Convert::ASN1.

asn_template

The ASN encoding template.

Defaults to:

    RSAPublicKey ::= SEQUENCE {
        modulus           INTEGER,  -- n
        publicExponent    INTEGER   -- e
    }

METHOD ^

generate()

Returns a PKCS#1 formatted string, given n and e.

SEE ALSO ^

Convert::SSH2

syntax highlighting: