The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

GnuPG::UserId - GnuPG User ID Objects

SYNOPSIS

  # assumes a GnuPG::PublicKey object in $publickey
  my $first_userid_string = $publickey->user_ids_ref->[0]->user_id_string;

DESCRIPTION

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

OBJECT METHODS

new( %initialization_args )

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.

OBJECT DATA MEMBERS

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.

user_id_string

A string of the user id.

validity

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.

signatures

A list of GnuPG::Signature objects embodying the signatures on this user id.

SEE ALSO

See also GnuPG::Signature and Class::MethodMaker.