GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Crypt::RSA::Key::Public(3) User Contributed Perl Documentation Crypt::RSA::Key::Public(3)

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

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

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

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.

Vipul Ved Prakash, <mail@vipul.net>

Crypt::RSA::Key(3), Crypt::RSA::Key::Private(3)
2009-06-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.