™.. Mail::DKIM::DkSignature - Online Linux Manual PageSection : 3
Updated : 2009-07-30
Source : perl v5.10.1
Note : User Contributed Perl Documentation
NAMEMail::DKIM::DkSignature − represents a DomainKeys−Signature header
CONSTRUCTORS
parse() − create a new signature from a DomainKey-Signature header my $sig = parse Mail::DKIM::DkSignature(
"DomainKey−Signature: a=rsa−sha1; b=yluiJ7+0=; c=nofws"
);
Constructs a signature by parsing the provided DomainKey-Signature header content. You do not have to include the header name (i.e. ‟DomainKey-Signature:”) but it is recommended, so the header name can be preserved and returned the same way in as_string(). Note: The input to this constructor is in the same format as the output of the as_string method.
METHODS
as_string() − the signature header as a string print $signature−>as_string . "\n";
outputs DomainKey−Signature: a=rsa−sha1; b=yluiJ7+0=; c=nofws
As shown in the example, the as_string method can be used to generate the DomainKey-Signature that gets prepended to a signed message.
algorithm() − get or set the algorithm (a=) fieldThe algorithm used to generate the signature. Defaults to ‟rsa−sha1”, an RSA-signed SHA−1 digest.
canonicalization() − get or set the canonicalization (c=) field $signature−>canonicalization("nofws");
$signature−>canonicalization("simple");
$method = $signature−>canonicalization;
Message canonicalization (default is ‟simple”). This informs the verifier of the type of canonicalization used to prepare the message for signing.
domain() − get or set the domain (d=) field my $d = $signature−>domain; # gets the domain value
$signature−>domain("example.org"); # sets the domain value
The domain of the signing entity, as specified in the signature. This is the domain that will be queried for the public key.
headerlist() − get or set the signed header fields (h=) field $signature−>headerlist("a:b:c");
my $headerlist = $signature−>headerlist;
my @headers = $signature−>headerlist;
Signed header fields. A colon-separated list of header field names that identify the header fields presented to the signing algorithm. In scalar context, the list of header field names will be returned as a single string, with the names joined together with colons. In list context, the header field names will be returned as a list.
identity() − get the signing identity my $i = $signature−>identity;
In DomainKey signatures, the signing identity is the first address found in the Sender header or the From header. This field is populated by the Verifier when processing a DomainKey signature.
identity_source() − determine which header had the identity my $source = $signature−>identity_source;
If the message is being verified, this method will tell you which of the message headers was used to determine the signature identity. Possible values are ‟header.sender” and ‟header.from”.
protocol() − get or set the query methods (q=) fieldA colon-separated list of query methods used to retrieve the public key (default is ‟dns”).
selector() − get or set the selector (s=) fieldThe selector subdivides the namespace for the ‟d=” (domain) tag.
signature() − get or set the signature data (b=) fieldThe signature data. Whitespace is automatically stripped from the returned value.
SEE ALSOMail::DKIM::Signature for DKIM-Signature headers
AUTHORJason Long, <jlong@messiah.edu>
COPYRIGHT AND LICENSECopyright (C) 2006−2007 by Messiah College This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available. 0
Johanes Gumabo
Data Size : 14,168 byte
man-Mail::DKIM::DkSignature.3pmBuild : 2024-12-29, 07:25 :
Visitor Screen : x
Visitor Counter ( page / site ) : 6 / 257,003
Visitor ID : :
Visitor IP : 18.222.161.119 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|252|Mail::DKIM::DkSignature.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Mail::DKIM::DkSignature.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|252|Mail::DKIM::DkSignature.3pm|41|br══─}─══|'br══─}─══
) (htmlprn|149|Mail::DKIM::DkSignature.3pm|41|'br══─}─══ |'br══─}─══
) (rof_nr_x|149|Mail::DKIM::DkSignature.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (rof_unit_scale_px|41|Mail::DKIM::DkSignature.3pm|51/52|F|.ie \nF ══─{─══. de IX
) (rof_if|19|Mail::DKIM::DkSignature.3pm|51/52|\nF|.ie \nF ══─{─══. de IX
) (htmlprn|149|Mail::DKIM::DkSignature.3pm|51/52|.ie \nF ══─{─══. de IX|.ie \nF ══─{─══. de IX
) (rof_escape_sequence|91|Mail::DKIM::DkSignature.3pm|53|\$1\t\\n%\t"\\$2" |. tm Index:\\$1\t\\n%\t"\\$2"
) (parse_manual_page_|252|Mail::DKIM::DkSignature.3pm|57|══─}─══|.══─}─══
) (htmlprn|149|Mail::DKIM::DkSignature.3pm|57|.══─}─══ |.══─}─══
)