1Mail::DKIM::ARC::MessagUesSeirgnCaotnutrrei(b3u)ted PerlMaDiolc:u:mDeKnItMa:t:iAoRnC::MessageSignature(3)
2
3
4
6 Mail::DKIM::ARC::MessageSignature - Subclass of Mail::DKIM::Signature
7 which represents a ARC-Message-Signature header
8
10 version 1.20200907
11
13 new() - create a new signature from parameters
14 my $signature = Mail::DKIM::ARC::MessageSignature->new(
15 [ Algorithm => 'rsa-sha256', ]
16 [ Signature => $base64, ]
17 [ Method => 'relaxed', ]
18 [ Domain => 'example.org', ]
19 [ Instance => 1, ]
20 [ Headers => 'from:subject:date:message-id', ]
21 [ Query => 'dns', ]
22 [ Selector => 'alpha', ]
23 [ Timestamp => time(), ]
24 [ Expiration => time() + 86400, ]
25 );
26
27 The only differences between this module and Mail::DKIM::Signature are
28 the header name, and that 'instance' is an integer rather than a base64
29 encoded value.
30
31 instance() - get or set the signing instance (i=) field
32 my $i = $signature->instance;
33
34 Instances must be integers less than 1024 according to the spec.
35
36 NOTE: the i= field is "Identity" in DKIM and is a base64 value, but in
37 ARC it is "Instance" and an integer. The parsing routine does not
38 check that the i= value is a number.
39
41 Mail::DKIM::Signature for DKIM-Signature headers
42
44 • Jason Long <jason@long.name>
45
46 • Marc Bradshaw <marc@marcbradshaw.net>
47
48 • Bron Gondwana <brong@fastmailteam.com> (ARC)
49
51 Work on ensuring that this module passes the ARC test suite was
52 generously sponsored by Valimail (https://www.valimail.com/)
53
55 • Copyright (C) 2013 by Messiah College
56
57 • Copyright (C) 2010 by Jason Long
58
59 • Copyright (C) 2017 by Standcore LLC
60
61 • Copyright (C) 2020 by FastMail Pty Ltd
62
63 This library is free software; you can redistribute it and/or modify it
64 under the same terms as Perl itself, either Perl version 5.8.6 or, at
65 your option, any later version of Perl 5 you may have available.
66
67
68
69perl v5.34.0 2022-01-2M1ail::DKIM::ARC::MessageSignature(3)