1Mail::DKIM::ARC::MessagUesSeirgnCaotnutrrei(b3u)ted PerlMaDiolc:u:mDeKnItMa:t:iAoRnC::MessageSignature(3)
2
3
4
6 Mail::DKIM::ARC::Signature - represents a ARC-Message-Signature header
7
8 This is a subclass of Mail::DKIM::Signature
9
11 new() - create a new signature from parameters
12 my $signature = Mail::DKIM::ARC::MessageSignature->new(
13 [ Algorithm => 'rsa-sha256', ]
14 [ Signature => $base64, ]
15 [ Method => 'relaxed', ]
16 [ Domain => 'example.org', ]
17 [ Instance => 1, ]
18 [ Headers => 'from:subject:date:message-id', ]
19 [ Query => 'dns', ]
20 [ Selector => 'alpha', ]
21 [ Timestamp => time(), ]
22 [ Expiration => time() + 86400, ]
23 );
24
25 The only differences between this module and Mail::DKIM::Signature are
26 the header name, and that 'instance' is an integer rather than a base64
27 encoded value.
28
29 instance() - get or set the signing instance (i=) field
30 my $i = $signature->instance;
31
32 Instances must be integers less than 1024 according to the spec.
33
34 NOTE: the i= field is "Identity" in DKIM and is a base64 value, but in
35 ARC it is "Instance" and an integer. The parsing routine does not
36 check that the i= value is a number.
37
39 Mail::DKIM::Signature for DKIM-Signature headers
40
42 Bron Gondwana, <brong@fastmailteam.com>
43
45 Copyright (C) 2017 by FastMail Pty Ltd
46
47 This library is free software; you can redistribute it and/or modify it
48 under the same terms as Perl itself, either Perl version 5.8.6 or, at
49 your option, any later version of Perl 5 you may have available.
50
51
52
53perl v5.30.1 2020-01-3M0ail::DKIM::ARC::MessageSignature(3)