GnuPG::UserId.3pm

Langue: en

Autres versions - même langue

Version: 2001-08-21 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

GnuPG::UserId - GnuPG User ID Objects

SYNOPSIS

   # assumes a GnuPG::PublicKey object in $publickey
   my $user_id = $publickey->user_ids_ref->[0]->as_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.
as_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

GnuPG::Signature, Class::MethodMaker