Crypt::OpenPGP::Constants - Exportable constants
Crypt::OpenPGP::Constants provides a list of common and useful constants for use in Crypt::OpenPGP.
None of the constants are exported by default; you have to ask for them explicitly. Some of the constants are grouped into bundles that you can grab all at once; alternatively you can just take the individual constants, one by one.
If you wish to import a group, your use statement should look something like this:
use Crypt::OpenPGP::Constants qw( :group );
Here are the groups:
All of the PGP_PKT_* constants. These are constants that define packet types.
Other exportable constants, not belonging to a group, are:
Default cipher, digest, and compression algorithms, to be used if no specific cipher, digest, or compression algorithm is otherwise specified.
Please see the Crypt::OpenPGP manpage for author, copyright, and license information.
To install Crypt::OpenPGP, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.