NAME

Mail::OpenDKIM::DKIM - Provides an interface to libOpenDKIM

DESCRIPTION

Mail::OpenDKIM::DKIM, coupled with Mail::OpenDKIM, provides a means of calling libOpenDKIM from Perl. Mail::OpenDKIM implements those routine taking a DKIM_LIB argument; those taking a DKIM argument have been implemented in Mail::OpenDKIM::DKIM.

When an error is encountered, an Error::Simple object is thrown.

SUBROUTINES/METHODS

new

Create a new signing/verifying object.

You probably don't want to call this method directly. Instead, call either Mail::DKIM->dkim_sign() or Mail::DKIM->dkim_verify() to instantiate an object.

dkim_sign

You probably don't want to call this method directly. Instead, call Mail::DKIM->dkim_sign().

dkim_verify

You probably don't want to call this method directly. Instead, call Mail::DKIM->dkim_verify().

dkim_header

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_body

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_eoh

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_chunk

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_eom

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_getid

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_msgdate

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_get_sig_substring

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_key_syntax

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_getsighdr

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_getsighdr_d

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_getsignature

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_getsiglist

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_ohdrs

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_get_signer

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_set_signer

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_set_margin

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_get_user_context

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_set_user_context

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_atps_check

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_diffheaders

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_get_reputation

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_set_final

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_set_prescreen

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_setpartial

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_getdomain

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_getuser

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_minbody

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_getmode

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_policy

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_policy_state_new

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_policy_state_free

For further information, refer to http://www.opendkim.org/libopendkim/

The given value of pstate is ignored. The value sent to libOpenDKIM is always NULL.

dkim_policy_getreportinfo

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_policy_getdnssec

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_policy_syntax

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_syntax

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_getpresult

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getbh

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getcanonlen

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getcanons

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getcontext

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getreportinfo

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getselector

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getsignalg

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getsignedhdrs

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getsigntime

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_process

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_gettagvalue

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_hdrsigned

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getdnssec

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getdomain

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_ignore

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getidentity

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getflags

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_getkeysize

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_sig_geterror

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_geterror

For further information, refer to http://www.opendkim.org/libopendkim/

dkim_free

For further information, refer to http://www.opendkim.org/libopendkim/

EXPORT

This module exports nothing.

SEE ALSO

Mail::DKIM

http://www.opendkim.org/libopendkim/

RFC 4870, RFC 4871

NOTES

The sig routines would be better if they were in a separate class.

The signature creation rountines have been tested more thoroughly than the signature verification routines.

Feedback will be greatfully received.

AUTHOR

Nigel Horne, <nigel at mailermailer.com>

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Mail::OpenDKIM

You can also look for information at:

SPONSOR

This code has been developed under sponsorship of MailerMailer LLC, http://www.mailermailer.com/

COPYRIGHT AND LICENCE

This module is Copyright 2013 Khera Communications, Inc. It is licensed under the same terms as Perl itself.