
GnuPG::Key - GnuPG Key Object

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

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.

This methods creates a new object. The optional arguments are initialization of data members.
This returns the commonly-used short, 8 character short hex id of the key.

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