1GnuPG::PrimaryKey(3) User Contributed Perl Documentation GnuPG::PrimaryKey(3)
2
3
4
6 GnuPG::PrimaryKey - GnuPG Primary Key Objects
7
9 # assumes a GnuPG::Interface object in $gnupg
10 my @keys = $gnupg->get_public_keys( 'ftobin' );
11
12 # or
13
14 my @keys = $gnupg->get_secret_keys( 'ftobin' );
15
16 # now GnuPG::PrimaryKey objects are in @keys
17
19 GnuPG::PrimaryKey objects are generally instantiated as
20 GnuPG::PublicKey or GnuPG::SecretKey objects through various methods of
21 GnuPG::Interface. They embody various aspects of a GnuPG primary key.
22
23 This package inherits data members and object methods from GnuPG::Key,
24 which is not described here, but rather in GnuPG::Key.
25
27 user_ids
28 A list of GnuPG::UserId objects associated with this key.
29
30 subkeys
31 A list of GnuPG::SubKey objects associated with this key.
32
33 local_id
34 GnuPG's local id for the key.
35
36 owner_trust
37 The scalar value GnuPG reports as the ownertrust for this key. See
38 GnuPG's DETAILS file for details.
39
41 GnuPG::Key, GnuPG::UserId, GnuPG::SubKey,
42
43
44
45perl v5.12.0 2009-07-13 GnuPG::PrimaryKey(3)