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

NAME

6       GnuPG::UserId - GnuPG User ID Objects
7

SYNOPSIS

9         # assumes a GnuPG::PublicKey object in $publickey
10         my $user_id = $publickey->user_ids_ref->[0]->as_string;
11

DESCRIPTION

13       GnuPG::UserId objects are generally not instantiated on their own, but
14       rather as part of GnuPG::PublicKey or GnuPG::SecretKey objects.
15

OBJECT METHODS

17       new( %initialization_args )
18           This methods creates a new object.  The optional arguments are
19           initialization of data members;
20
21       compare( $other, $deep )
22           Returns non-zero only when this User ID is identical to the other
23           GnuPG::UserID.  If $deep is present and non-zero, the User ID's
24           signatures and revocations will also be compared.
25

OBJECT DATA MEMBERS

27       as_string
28           A string of the user id.
29
30       validity
31           A scalar holding the value GnuPG reports for the trust of
32           authenticity (a.k.a.) validity of a key.  See GnuPG's DETAILS file
33           for details.
34
35       signatures
36           A list of GnuPG::Signature objects embodying the signatures on this
37           user id.
38
39       revocations
40           A list of revocations associated with this User ID, stored as
41           GnuPG::Signature objects (since revocations are a type of
42           certification as well).
43

SEE ALSO

45       GnuPG::Signature,
46
47
48
49perl v5.36.0                      2023-01-20                  GnuPG::UserId(3)
Impressum