1GnuPG::UserAttribute(3)User Contributed Perl DocumentatioGnnuPG::UserAttribute(3)
2
3
4
6 GnuPG::UserAttribute - GnuPG User Attribute Objects
7
9 # assumes a GnuPG::PublicKey object in $publickey
10 my $jpgs_size = $publickey->user_attributes->[0]->subpacket_total_size();
11
13 GnuPG::UserAttribute objects are generally not instantiated on their
14 own, but rather as part of GnuPG::PublicKey or GnuPG::SecretKey
15 objects.
16
18 new( %initialization_args )
19 This methods creates a new object. The optional arguments are
20 initialization of data members;
21
23 validity
24 A scalar holding the value GnuPG reports for the calculated
25 validity of the binding between this User Attribute packet and its
26 associated primary key. See GnuPG's DETAILS file for details.
27
28 subpacket_count
29 A scalar holding the number of attribute subpackets. This is
30 usually 1, as most UATs seen in the wild contain a single image in
31 JPEG format.
32
33 subpacket_total_size
34 A scalar holding the total byte count of all attribute subpackets.
35
36 signatures
37 A list of GnuPG::Signature objects embodying the signatures on this
38 user attribute.
39
40 revocations
41 A list of revocations associated with this User Attribute, stored
42 as GnuPG::Signature objects (since revocations are a type of
43 certification as well).
44
46 No useful information about the embedded attributes is provided yet.
47 It would be nice to be able to get ahold of the raw JPEG material.
48
50 GnuPG::Signature,
51
52
53
54perl v5.34.0 2022-01-21 GnuPG::UserAttribute(3)