GnuPG::UserId - GnuPG User ID Objects
# assumes a GnuPG::PublicKey object in $publickey my $first_userid_string = $publickey->user_ids_ref->[0]->user_id_string;
GnuPG::UserId objects are generally not instantiated on their own, but rather as part of GnuPG::PublicKey or GnuPG::SecretKey objects.
This methods creates a new object. The optional arguments are initialization of data members; the initialization is done in a manner according to the method created as described in "new_hash_init" in Class::MethodMaker.
Note that these data members are interacted with via object methods created using the methods described in "get_set" in Class::MethodMaker, "object" in Class::MethodMaker, or "list" in Class::MethodMaker. Please read there for more information.
A string of the user id.
A scalar holding the value GnuPG reports for the trust of authenticity (a.k.a.) validity of a key. See GnuPG's DETAILS file for details.
A list of GnuPG::Signature objects embodying the signatures on this user id.
See also GnuPG::Signature and Class::MethodMaker.
To install GnuPG::Interface, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GnuPG::Interface
CPAN shell
perl -MCPAN -e shell install GnuPG::Interface
For more information on module installation, please visit the detailed CPAN module installation guide.