1Crypt::RSA::Key::PublicU(s3e)r Contributed Perl DocumentaCtriyopnt::RSA::Key::Public(3)
2
3
4

NAME

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

SYNOPSIS

9           $key = new Crypt::RSA::Key::Public;
10           $key->write ( Filename => 'rsakeys/banquo.public' );
11
12           $akey = new Crypt::RSA::Key::Public (
13                       Filename => 'rsakeys/banquo.public'
14                   );
15

DESCRIPTION

17       Crypt::RSA::Key::Public provides basic key management functionality for
18       Crypt::RSA public keys. Following methods are available:
19
20       new()
21           The constructor. Reads the public key from a disk file when called
22           with a "Filename" argument.
23
24       write()
25           Causes the key to be written to a disk file specified by the
26           "Filename" argument.
27
28       read()
29           Causes the key to be read from a disk file specified by "Filename"
30           into the object.
31
32       serialize()
33           Creates a Data::Dumper(3) serialization of the private key and
34           returns the string representation.
35
36       deserialize()
37           Accepts a serialized key under the "String" parameter and coverts
38           it into the perl representation stored in the object.
39
40       "check()"
41           Check the consistency of the key. Returns undef on failure.
42

AUTHOR

44       Vipul Ved Prakash, <mail@vipul.net>
45

SEE ALSO

47       Crypt::RSA::Key(3), Crypt::RSA::Key::Private(3)
48
49
50
51perl v5.34.0                      2021-07-22        Crypt::RSA::Key::Public(3)
Impressum