The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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