Mail::Message::Field::DKIM - message header field for dkim signatures
Mail::Message::Field::DKIM is a Mail::Message::Field::Structured is a Mail::Message::Field::Full is a Mail::Message::Field is a Mail::Reporter
my $f = Mail::Message::Field->new('DKIM-Signature' => '...'); my $g = Mail::Message::Field->new('DKIM-Signature'); $g->add...
Decode the information contained in a DKIM header. You can also construct DKIM-Signature headers this way. However, verification and signing is not yet implemented.
This implementation is based on RFC6376.
Extends "DESCRIPTION" in Mail::Message::Field::Structured.
Extends "OVERLOADED" in Mail::Message::Field::Structured.
Inherited, see "OVERLOADED" in Mail::Message::Field
Inherited, see "OVERLOADED" in Mail::Message::Field::Full
Extends "METHODS" in Mail::Message::Field::Structured.
Extends "Constructors" in Mail::Message::Field::Structured.
Inherited, see "Constructors" in Mail::Message::Field
Inherited, see "Constructors" in Mail::Message::Field::Full
-Option --Defined in --Default attributes Mail::Message::Field::Structured <ignored> charset Mail::Message::Field::Full undef datum Mail::Message::Field::Structured undef encoding Mail::Message::Field::Full 'q' force Mail::Message::Field::Full false language Mail::Message::Field::Full undef log Mail::Reporter 'WARNINGS' trace Mail::Reporter 'WARNINGS'
Extends "The field" in Mail::Message::Field::Structured.
Inherited, see "The field" in Mail::Message::Field
Extends "Access to the name" in Mail::Message::Field::Structured.
Inherited, see "Access to the name" in Mail::Message::Field
Extends "Access to the body" in Mail::Message::Field::Structured.
Inherited, see "Access to the body" in Mail::Message::Field
Inherited, see "Access to the body" in Mail::Message::Field::Full
Extends "Access to the content" in Mail::Message::Field::Structured.
Attributes are not supported here.
Add a tag to the set. When the tag already exists, it is replaced. Names are (coverted to) lower-case. When multiple values are given, they will be concatenated with a blank (and may get folded there later)
Inherited, see "Access to the content" in Mail::Message::Field
Inherited, see "Access to the content" in Mail::Message::Field::Structured
Inherited, see "Access to the content" in Mail::Message::Field::Full
Returns the value for the named tag.
The tag methods return the tag-value content without any validation or modification. For many situations, the actual content does not need (expensive) validation and interpretation.
The Agent or User Identifier (AUID). Defaults to @$domain
@$domain
Signature algorithm. Should be rsa-sha(1|256): check before use. Required.
The number of octets which where used to calculate the hash. By default, the whole body was used.
The canonicalization method used. Defaults to 'simple/simple'.
The sub-domain (SDID) which claims responsibility for this signature. Required.
The timestamp when the signature will expire. Recommended.
Some headers from the original message packed together.
A colon-separated list of method which can be used to retrieve the public key. The default is "dns/txt" (currently the only valid option)
The selector subdividing the $domain tag. Required.
Message signature in base64, with whitespaces removed. Required.
The colon separated list of headers which need to be included in the signature. Required.
When the signature was created in UNIX-like seconds (since 1970). Recommended.
Signature header synax version (usually 1)
Extends "Other methods" in Mail::Message::Field::Structured.
Inherited, see "Other methods" in Mail::Message::Field
Extends "Internals" in Mail::Message::Field::Structured.
Inherited, see "Internals" in Mail::Message::Field
Inherited, see "Internals" in Mail::Message::Field::Full
Extends "Parsing" in Mail::Message::Field::Structured.
Inherited, see "Parsing" in Mail::Message::Field::Full
Inherited, see "Parsing" in Mail::Message::Field::Structured
Extends "Error handling" in Mail::Message::Field::Structured.
Inherited, see "Error handling" in Mail::Reporter
Extends "Cleanup" in Mail::Message::Field::Structured.
Inherited, see "Cleanup" in Mail::Reporter
Extends "DETAILS" in Mail::Message::Field::Structured.
The numeric value of a field is requested (for instance the Lines or Content-Length fields should be numerical), however the data contains weird characters.
Lines
Content-Length
The field is created with an utf8 string which only contains data from the specified character set. However, that character set can never be a valid name because it contains characters which are not permitted.
A new field is being created which does contain characters not permitted by the RFCs. Using this field in messages may break other e-mail clients or transfer agents, and therefore mutulate or extinguish your message.
The field is created with data which is specified to be in a certain language, however, the name of the language cannot be valid: it contains characters which are not permitted by the RFCs.
The RFCs only permit base64 (b or B ) or quoted-printable (q or Q) encoding. Other than these four options are illegal.
b
B
q
Q
Is is not possible to add attributes to this field.
Fatal error: the specific package (or one of its superclasses) does not implement this method where it should. This message means that some other related classes do implement this method however the class at hand does not. Probably you should investigate this and probably inform the author of the package.
This module is part of Mail-Message distribution version 3.005, built on December 22, 2017.
Do not forget to read Mail::Box-Overview, Mail::Box-Cookbook, and Mail::Box-Index. Examples are included in the Mail-Box distribution, directories 'examples' and 'scripts'.
Browseable manuals, papers, and other released material van be found at Website: http://perl.overmeer.net/mailbox/
The central modules (in separate distributions) in the MailBox suite are: Mail::Message, Mail::Box, Mail::Box::IMAP4, Mail::Box::POP3, Mail::Box::Parser::C, Mail::Box::Dbx (unpublished), Mail::Transport, Object::Realize::Later, and User::Identity.
Please post questions or ideas to the author markov@cpan.org.
Copyrights 2001-2017 by [Mark Overmeer]. For other contributors see ChangeLog.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See http://dev.perl.org/licenses/
To install Mail::Message, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::Message
CPAN shell
perl -MCPAN -e shell install Mail::Message
For more information on module installation, please visit the detailed CPAN module installation guide.