1GnuPG::UserId(3) User Contributed Perl Documentation GnuPG::UserId(3)
2
3
4
6 GnuPG::UserId - GnuPG User ID Objects
7
9 # assumes a GnuPG::PublicKey object in $publickey
10 my $user_id = $publickey->user_ids_ref->[0]->as_string;
11
13 GnuPG::UserId objects are generally not instantiated on their own, but
14 rather as part of GnuPG::PublicKey or GnuPG::SecretKey objects.
15
17 new( %initialization_args )
18 This methods creates a new object. The optional arguments are ini‐
19 tialization of data members; the initialization is done in a manner
20 according to the method created as described in "new_hash_init" in
21 Class::MethodMaker.
22
24 Note that these data members are interacted with via object methods
25 created using the methods described in "get_set" in Class::MethodMaker,
26 "object" in Class::MethodMaker, or "list" in Class::MethodMaker.
27 Please read there for more information.
28
29 as_string
30 A string of the user id.
31
32 validity
33 A scalar holding the value GnuPG reports for the trust of authen‐
34 ticity (a.k.a.) validity of a key. See GnuPG's DETAILS file for
35 details.
36
37 signatures
38 A list of GnuPG::Signature objects embodying the signatures on this
39 user id.
40
42 GnuPG::Signature, Class::MethodMaker
43
44
45
46perl v5.8.8 2001-08-21 GnuPG::UserId(3)