1RR::KEY(3)            User Contributed Perl Documentation           RR::KEY(3)
2
3
4

NAME

6       Net::DNS::RR::KEY - DNS KEY resource record
7

SYNOPSIS

9       "use Net::DNS::RR;"
10

DESCRIPTION

12       Class for DNS Address (KEY) resource records.
13

METHODS

15       flags
16
17           print "flags" = ", $rr->flags, "\n";
18
19       Returns the RR's flags in decimal representation
20
21       protocol
22
23           print "protocol" = ", $rr->protocol, "\n";
24
25       Returns the RR's protocol field in decimal representation
26
27       algorithm
28
29           print "algoritm" = ", $rr->algorithm, "\n";
30
31       Returns the RR's algorithm field in decimal representation
32
33           1 = MD5 RSA
34           2 = DH
35           3 = DSA
36           4 = Elliptic curve
37           5 = SHA1 RSA
38
39       Note that only algorithm 1 and 3 are supported by the methods provided
40       through Net::DNS::RR::SIG.pm.
41
42       key
43
44           print "key" = ", $rr->key, "\n";
45
46       Returns the key in base64 representation
47
48       keybin
49
50           $keybin =  $rr->keybin;
51
52       Returns the key binary material
53
54       keytag
55
56           print "keytag" = ", $rr->keytag, "\n";
57
58       Returns the key tag of the key. (RFC2535 4.1.6)
59
60       privatekeyname
61
62           $privatekeyname=$rr->privatekeyname
63
64       Returns the name of the privatekey as it would be generated by the BIND
65       dnssec-keygen program. The format of that name being K\<fqdn\>+\<algo‐
66       rithm\>+\<keyid\>.private
67
69       Copyright (c) 2001-2005  RIPE NCC.  Author Olaf M. Kolkman
70       <olaf@net-dns.org>
71
72       All Rights Reserved
73
74       Permission to use, copy, modify, and distribute this software and its
75       documentation for any purpose and without fee is hereby granted, pro‐
76       vided that the above copyright notice appear in all copies and that
77       both that copyright notice and this permission notice appear in sup‐
78       porting documentation, and that the name of the author not be used in
79       advertising or publicity pertaining to distribution of the software
80       without specific, written prior permission.
81
82       THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
83       INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO
84       EVENT SHALL AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
85       DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
86       PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
87       ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
88       THIS SOFTWARE.
89
90       Based on, and contains, code by Copyright (c) 1997 Michael Fuhr.
91

SEE ALSO

93       <http://www.net-dns.org/>
94
95       perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet,
96       Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 2931.
97
98
99
100perl v5.8.8                       2006-02-14                        RR::KEY(3)
Impressum