1Net::DNS::RR::TLSA(3) User Contributed Perl DocumentationNet::DNS::RR::TLSA(3)
2
3
4
6 Net::DNS::RR::TLSA - DNS TLSA resource record
7
9 use Net::DNS;
10 $rr = new Net::DNS::RR('name TLSA usage selector matchingtype certificate');
11
13 The Transport Layer Security Authentication (TLSA) DNS resource record
14 is used to associate a TLS server certificate or public key with the
15 domain name where the record is found, forming a "TLSA certificate
16 association". The semantics of how the TLSA RR is interpreted are
17 described in RFC6698.
18
20 The available methods are those inherited from the base class augmented
21 by the type-specific methods defined in this package.
22
23 Use of undocumented package features or direct access to internal data
24 structures is discouraged and could result in program termination or
25 other unpredictable behaviour.
26
27 usage
28 $usage = $rr->usage;
29 $rr->usage( $usage );
30
31 8-bit integer value which specifies the provided association that will
32 be used to match the certificate presented in the TLS handshake.
33
34 selector
35 $selector = $rr->selector;
36 $rr->selector( $selector );
37
38 8-bit integer value which specifies which part of the TLS certificate
39 presented by the server will be matched against the association data.
40
41 matchingtype
42 $matchingtype = $rr->matchingtype;
43 $rr->matchingtype( $matchingtype );
44
45 8-bit integer value which specifies how the certificate association is
46 presented.
47
48 certificate
49 cert
50 $cert = $rr->cert;
51 $rr->cert( $cert );
52
53 Hexadecimal representation of the certificate data.
54
55 certbin
56 $certbin = $rr->certbin;
57 $rr->certbin( $certbin );
58
59 Binary representation of the certificate data.
60
61 babble
62 print $rr->babble;
63
64 The babble() method returns the 'BubbleBabble' representation of the
65 digest if the Digest::BubbleBabble package is available, otherwise an
66 empty string is returned.
67
68 BubbleBabble represents a message digest as a string of plausible
69 words, to make the digest easier to verify. The "words" are not
70 necessarily real words, but they look more like words than a string of
71 hex characters.
72
73 The 'BubbleBabble' string is appended as a comment when the string
74 method is called.
75
77 Copyright (c)2012 Willem Toorop, NLnet Labs.
78
79 All rights reserved.
80
81 Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
82
84 Permission to use, copy, modify, and distribute this software and its
85 documentation for any purpose and without fee is hereby granted,
86 provided that the above copyright notice appear in all copies and that
87 both that copyright notice and this permission notice appear in
88 supporting documentation, and that the name of the author not be used
89 in advertising or publicity pertaining to distribution of the software
90 without specific prior written permission.
91
92 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
93 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
94 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
95 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
96 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
97 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
98 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
99
101 perl, Net::DNS, Net::DNS::RR, RFC6698
102
103
104
105perl v5.28.0 2018-11-14 Net::DNS::RR::TLSA(3)