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

NAME

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

SYNOPSIS

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

DESCRIPTION

12       Class for DNSSEC KEY (DNSKEY) resource records.
13

METHODS

15   flags
16           print "flags" = ", $rr->flags, "\n";
17
18       Returns the RR's flags in decimal representation
19
20   protocol
21           print "protocol" = ", $rr->protocol, "\n";
22
23       Returns the RR's protocol field in decimal representation
24
25   algorithm
26           print "algoritm" = ", $rr->algorithm, "\n";
27
28       Returns the RR's algorithm field in decimal representation
29
30           1 = RSA/MD5
31           2 = DH
32           3 = DSA/SHA-1
33           4 = Elliptic Curve
34           5 = RSA/SHA-1
35           6 - DSA/SHA-1 (NSEC3)
36           7 - RSA/SHA-1 (NSEC3)
37           8 - RSA/SHA-256
38           10 - RSA/SHA-512
39
40       Note that only algorithm 1 and 3 are supported by the methods provided
41       through Net::DNS::RR::SIG.pm.
42
43   key
44           print "key" = ", $rr->key, "\n";
45
46       Returns the key in base64 representation
47
48   keybin
49           $keybin =  $rr->keybin;
50
51       Returns the key binary material
52
53   keytag
54           print "keytag" = ", $rr->keytag, "\n";
55
56       Returns the key tag of the key. (RFC2535 4.1.6)
57
58   privatekeyname
59           $privatekeyname=$rr->privatekeyname
60
61       Returns the name of the privatekey as it would be generated by the BIND
62       dnssec-keygen program. The format of that name being
63       K\<fqdn\>+\<algorithm\>+\<keyid\>.private
64
65   is_sep, set_sep, clear_sep
66       is_sep() returns 1 if the secure entry point flag field is set,
67       set_sep() sets secure entry point flag field is set and clear_sep()
68       clears the value.
69
70   keylength
71       Return the length of a key.
72
73       For RSA this method returns the length (in bits) of the modulus.
74
75       For DSA this method returnse the value of the T parameter (See RFC2536)
76
77       Returns -1 if the keysize cannot be determined (e.g. for unknown
78       algorithms algorithm).
79
81       Copyright (c) 2003-2005  RIPE NCC.  Author Olaf M. Kolkman
82       <olaf@net-dns.org>
83
84       All Rights Reserved
85
86       Permission to use, copy, modify, and distribute this software and its
87       documentation for any purpose and without fee is hereby granted,
88       provided that the above copyright notice appear in all copies and that
89       both that copyright notice and this permission notice appear in
90       supporting documentation, and that the name of the author not be used
91       in advertising or publicity pertaining to distribution of the software
92       without specific, written prior permission.
93
94       THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
95       INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO
96       EVENT SHALL AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
97       DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
98       PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
99       ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
100       THIS SOFTWARE.
101
102       Based on, and contains, code by Copyright (c) 1997 Michael Fuhr.
103

SEE ALSO

105       http://www.net-dns.org/ <http://www.net-dns.org/>
106
107       perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet,
108       Net::DNS::Header, Net::DNS::Question, Net::DNS::RR, RFC 4033, RFC 4034,
109       RFC 4035.
110
111
112
113perl v5.12.3                      2010-03-12                     RR::DNSKEY(3)
Impressum