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

Download:
Convert-SSH2-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

Convert::SSH2::Format::Base - Base class for SSH2 formatters

PURPOSE ^

Subclass this module to implement your own RSA SSH2 key reformatters.

ATTRIBUTES ^

e

The public exponent component of an RSA public key.

n

The modulus component of an RSA public key.

line_width

How many characters should make a line. Defaults to 64.

METHOD ^

generate()

Using n and e, generate a representation in a specific format.

format_lines()

Given a string, insert newlines every line_width characters.

Returns formatted string.

SEE ALSO ^

Convert::SSH2

syntax highlighting: