GnuPG::Key.3pm

Langue: en

Version: 2009-07-13 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

GnuPG::Key - GnuPG Key Object

SYNOPSIS

   # assumes a GnuPG::Interface object in $gnupg
   my @keys = $gnupg->get_public_keys( 'ftobin' );
 
   # now GnuPG::PublicKey objects are in @keys
 
 

DESCRIPTION

GnuPG::Key objects are generally not instantiated on their own, but rather used as a superclass of GnuPG::PublicKey, GnuPG::SecretKey, or GnuPG::SubKey objects.

OBJECT METHODS

Initialization Methods

new( %initialization_args )
This methods creates a new object. The optional arguments are initialization of data members.
hash_init( %args ).
short_hex_id
This returns the commonly-used short, 8 character short hex id of the key.

OBJECT DATA MEMBERS

length
Number of bits in the key.
algo_num
They algorithm number that the Key is used for.
hex_data
The data of the key.
hex_id
The long hex id of the key. This is not the fingerprint nor the short hex id, which is 8 hex characters.
creation_date_string =item expiration_date_string
Formatted date of the key's creation and expiration.
fingerprint
A GnuPG::Fingerprint object.

SEE ALSO

GnuPG::Fingerprint,