1Mail::DKIM::ARC::Seal(3U)ser Contributed Perl DocumentatiMoanil::DKIM::ARC::Seal(3)
2
3
4

NAME

6       Mail::DKIM::ARC::Seal - represents a ARC-Seal header
7

VERSION

9       version 1.20200724
10

CONSTRUCTORS

12   new() - create a new signature from parameters
13         my $signature = Mail::DKIM::ARC::Seal->new(
14                             [ Algorithm => 'rsa-sha256', ]
15                             [ Signature => $base64, ]
16                             [ Domain => 'example.org', ]
17                             [ Instance => 1, ]
18                             [ Chain => 'none', ] # none|fail|pass
19                             [ Query => 'dns', ]
20                             [ Selector => 'alpha', ]
21                             [ Timestamp => time(), ]
22                             [ Expiration => time() + 86400, ]
23                         );
24
25       The ARC-Seal is similar to a DKIM signature but with the following
26       changes:
27
28       https://tools.ietf.org/html/draft-ietf-dmarc-arc-protocol-06
29
30       5.1.1.1.  Tags in the ARC-Seal Header Field Value
31
32          The following tags are the only supported tags for an ARC-Seal field.
33          All of them MUST be present.  Unknown tags MUST be ignored and do not
34          affect the validity of the header.
35
36          o  a = hash algorithm; syntax is the same as the "a=" tag defined in
37             Section 3.5 of [RFC6376];
38
39          o  b = digital signature; syntax is the same as the "b=" tag defined
40             in Section 3.5 of [RFC6376];
41
42          o  cv = chain validation status: valid values:
43
44             *  'none' = no pre-existing chain;
45
46             *  'fail' = the chain as received does not or can not validate; or
47
48             *  'pass' = valid chain received.
49
50          o  d = domain for key; syntax is the same as the "d=" tag defined in
51             Section 3.5 of [RFC6376];
52
53          o  i = "instance" or sequence number; monotonically increasing at
54             each "sealing" entity, beginning with '1', see Section 5.1.1.1.1
55             regarding the valid range
56
57          o  s = selector for key; syntax is the same as the "s=" tag defined
58             in Section 3.5 of [RFC6376];
59
60          o  t = timestamp; syntax is the same as the "t=" tag defined in
61             Section 3.5 of [RFC6376].
62
63   chain() - get or set the chain parameter (cv=) field
64       This must be one of "pass", "fail" or "none".  For a chain to be valid,
65       the very first (i=1) seal MUST be cv=none, and all further seals MUST
66       be cv=pass.
67
68   instance() - get or set the signing instance (i=) field
69         my $i = $signature->instance;
70
71       Instances must be integers less than 1024 according to the spec.
72

SEE ALSO

74       Mail::DKIM::Signature for DKIM-Signature headers
75
76       Mail::DKIM::ARC::MessageSignature for ARC-Message-Signature headers
77

AUTHORS

79       ·   Jason Long <jason@long.name>
80
81       ·   Marc Bradshaw <marc@marcbradshaw.net>
82
83       ·   Bron Gondwana <brong@fastmailteam.com> (ARC)
84

THANKS

86       Work on ensuring that this module passes the ARC test suite was
87       generously sponsored by Valimail (https://www.valimail.com/)
88
90       ·   Copyright (C) 2013 by Messiah College
91
92       ·   Copyright (C) 2010 by Jason Long
93
94       ·   Copyright (C) 2017 by Standcore LLC
95
96       ·   Copyright (C) 2020 by FastMail Pty Ltd
97
98       This library is free software; you can redistribute it and/or modify it
99       under the same terms as Perl itself, either Perl version 5.8.6 or, at
100       your option, any later version of Perl 5 you may have available.
101
102
103
104perl v5.32.0                      2020-07-28          Mail::DKIM::ARC::Seal(3)
Impressum