Mail::OpenDKIM::PrivateKey - Load in a private key for use with the Mail::OpenDKIM package
use Mail::OpenDKIM::PrivateKey; my $pk; eval { $pk = Mail::OpenDKIM::PrivateKey->load(File => 'mykeyfile')); } if(defined($pk)) { # Do something with $pk->data(); ... }
Mail::OpenDKIM::PrivateKey provides a system to allow private keys to be loaded from a file for use when signing an email with Mail::OpenDKIM::Signer.
It provides enough of a subset of the functionaility of Mail::DKIM::PrivateKey to allow use of the OpenDKIM library with Mail::OpenDKIM::Signer.
This routine provides access to the key data.
This module exports nothing.
Mail::DKIM::PrivateKey
This module does not yet implement all of the API of Mail::DKIM::PrivateKey
Nigel Horne, <nigel at mailermailer.com>
<nigel at mailermailer.com>
Please report any bugs or feature requests to bug-mail-opendkim at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Mail-OpenDKIM. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-mail-opendkim at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Mail::OpenDKIM::PrivateKey
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Mail-OpenDKIM
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Mail-OpenDKIM
CPAN Ratings
http://cpanratings.perl.org/d/Mail-OpenDKIM
Search CPAN
http://search.cpan.org/dist/Mail-OpenDKIM/
This code has been developed under sponsorship of MailerMailer LLC, http://www.mailermailer.com/
This module is Copyright 2011 Khera Communications, Inc. It is licensed under the same terms as Perl itself.
To install Mail::OpenDKIM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::OpenDKIM
CPAN shell
perl -MCPAN -e shell install Mail::OpenDKIM
For more information on module installation, please visit the detailed CPAN module installation guide.