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 GnuPG::Pub‐
20 licKey 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 Note that these data members are interacted with via object methods
28 created using the methods described in "get_set" in Class::MethodMaker,
29 "object" in Class::MethodMaker, or "list" in Class::MethodMaker.
30 Please read there for more information.
31
32 user_ids
33 A list of GnuPG::UserId objects associated with this key.
34
35 subkeys
36 A list of GnuPG::SubKey objects associated with this key.
37
38 local_id
39 GnuPG's local id for the key.
40
41 owner_trust
42 The scalar value GnuPG reports as the ownertrust for this key. See
43 GnuPG's DETAILS file for details.
44
46 GnuPG::Key, GnuPG::UserId, GnuPG::SubKey, Class::MethodMaker
47
48
49
50perl v5.8.8 2001-08-21 GnuPG::PrimaryKey(3)