GnuPG::Signature - GnuPG Key Signature Objects
# assumes a GnuPG::SubKey object in $key my $signing_id = $key->signature->hex_id();
GnuPG::Signature objects are generally not instantiated on their own, but rather as part of GnuPG::Key objects. They embody various aspects of a GnuPG signature on a key.
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.
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.
The number of the algorithm used for the signature.
The hex id of the signing key.
The first user id string on the key that made the signature. This may not be defined if the signing key is not on the local keyring.
The formatted date the signature was performed on.
See also Class::MethodMaker.
To install GnuPG::Interface, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GnuPG::Interface
CPAN shell
perl -MCPAN -e shell install GnuPG::Interface
For more information on module installation, please visit the detailed CPAN module installation guide.