Manual Reference Pages  - Crypt::RSA::Key::Public (3)

NAME

Crypt::RSA::Key::Public -- RSA Public Key Management.

CONTENTS

SYNOPSIS



    $key = new Crypt::RSA::Key::Public;
    $key->write ( Filename => ’rsakeys/banquo.public’ );





    $akey = new Crypt::RSA::Key::Public (
                Filename => ’rsakeys/banquo.public’
            );



DESCRIPTION

Crypt::RSA::Key::Public provides basic key management functionality for Crypt::RSA public keys. Following methods are available:
new() The constructor. Reads the public key from a disk file when called with a Filename argument.
write() Causes the key to be written to a disk file specified by the Filename argument.
read() Causes the key to be read from a disk file specified by Filename into the object.
serialize() Creates a Data::Dumper(3) serialization of the private key and returns the string representation.
deserialize() Accepts a serialized key under the String parameter and coverts it into the perl representation stored in the object.
check() Check the consistency of the key. Returns undef on failure.

AUTHOR

Vipul Ved Prakash, <mail@vipul.net>

SEE ALSO

Crypt::RSA::Key(3), Crypt::RSA::Key::Private(3)
Jump to page    or go to Top of page |  Section 3 |  Main Index.


perl v5.8.5 Crypt::RSA::Key::Public (3) 2005-10-20
Generated by manServer 1.07 from /usr/share/man/man3/Crypt::RSA::Key::Public.3pm using man macros.