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

NAME

6       GnuPG::PrimaryKey - GnuPG Primary Key Objects
7

SYNOPSIS

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

DESCRIPTION

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

OBJECT DATA MEMBERS

27       user_ids
28           A list of GnuPG::UserId objects associated with this key.
29
30       user_attributes
31           A list of GnuPG::UserAttribute objects associated with this key.
32
33       subkeys
34           A list of GnuPG::SubKey objects associated with this key.
35
36       local_id
37           WARNING: DO NOT USE.  This used to mean GnuPG's local id for the
38           key, but modern versions of GnuPG do not produce it.  Expect this
39           to be the empty string or undef.
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

SEE ALSO

46       GnuPG::Key, GnuPG::UserId, GnuPG::SubKey,
47
48
49
50perl v5.32.1                      2021-01-31              GnuPG::PrimaryKey(3)
Impressum