1GnuPG::Key(3)         User Contributed Perl Documentation        GnuPG::Key(3)
2
3
4

NAME

6       GnuPG::Key - GnuPG Key Object
7

SYNOPSIS

9         # assumes a GnuPG::Interface object in $gnupg
10         my @keys = $gnupg->get_public_keys( 'ftobin' );
11
12         # now GnuPG::PublicKey objects are in @keys
13

DESCRIPTION

15       GnuPG::Key objects are generally not instantiated on their own, but
16       rather used as a superclass of GnuPG::PublicKey, GnuPG::SecretKey, or
17       GnuPG::SubKey objects.
18

OBJECT METHODS

20   Initialization Methods
21       new( %initialization_args )
22           This methods creates a new object.  The optional arguments are
23           initialization of data members.
24
25       hash_init( %args ).
26       short_hex_id
27           This returns the commonly-used short, 8 character short hex id of
28           the key.
29

OBJECT DATA MEMBERS

31       length
32           Number of bits in the key.
33
34       algo_num
35           They algorithm number that the Key is used for.
36
37       hex_data
38           The data of the key.
39
40       hex_id
41           The long hex id of the key.  This is not the fingerprint nor the
42           short hex id, which is 8 hex characters.
43
44       creation_date_string =item expiration_date_string
45           Formatted date of the key's creation and expiration.
46
47       fingerprint
48           A GnuPG::Fingerprint object.
49

SEE ALSO

51       GnuPG::Fingerprint,
52
53
54
55perl v5.12.0                      2009-07-13                     GnuPG::Key(3)
Impressum