Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

GnuPG::Key
GnuPG Key Object

GnuPG::Key - GnuPG Key Object


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; the initialization is done in a manner according to the method created as described in new_hash_init in the Class::MethodMaker manpage.

hash_init( %args ).
This method works as described in new_hash_init in the Class::MethodMaker manpage.

short_hex_id
This returns the commonly-used short, 8 character short hex id of the key.


OBJECT DATA MEMBERS

Note that these data members are interacted with via object methods created using the methods described in get_set in the Class::MethodMaker manpage, or object in the Class::MethodMaker manpage. Please read there for more information.

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

the GnuPG::Fingerprint manpage, the Class::MethodMaker manpage

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy