1SEC(3)                User Contributed Perl Documentation               SEC(3)
2
3
4

NAME

6       Net::DNS::SEC - DNSSEC extensions to Net::DNS
7

SYNOPSIS

9       "use Net::DNS;"
10
11       The Net::DNS::SEC module implements a few class methods used by the
12       other modules in this suite and a few functions that can be exported.
13

DESCRIPTION

15       The Net::DSN::SEC suite provides the resource records that are needed
16       for DNSSEC (RFC 4033, 4034 and 4035).
17
18       It also provides support for SIG0. That later is useful for dynamic
19       updates using key-pairs.
20
21       RSA and DSA crypto routines are supported.
22
23       For details see Net::DNS::RR::RRSIG, Net::DNS::RR::DNSKEY,
24       Net::DNS::RR::NSEC and Net::DNS::RR:DS.  and see Net::DNS::RR::SIG and
25       Net::DNS::RR::KEY for the use with SIG0.
26
27       Net::DNS contains all needed hooks to load the Net::DNS::SEC extensions
28       when they are available.
29
30       See Net::DNS for general help.
31

Utility function

33       Use the following construct if you want to use thos function in your
34       code.
35
36          use Net::DNS::SEC qw( key_difference );
37
38       key_difference
39
40           $result=key_differnece(\@a,\@b,\@result);
41
42       Fills @result with all keys in the array "@a" that are not in the array
43       "@b".
44
45       Returns 0 on success or an error message on failure.
46

Class methods

48       These functions are inherited by relevant Net::DNS::RR classes. They
49       are not exported.
50
51       algorithm
52
53           $value=Net::DNS::SEC->algorithm("RSASHA1");
54           $value=$self->algorithm("RSASHA1");
55           $value=$self->algorithm(5);
56
57           $algorithm=$self->algorithm();
58           $memonic=$self->algorithm("mnemonic");
59
60       The algorithm method is used to set or read the value of the algorithm
61       field in Net::DNS::RR::DNSKEY and Net::DNS::RR::RRSIG.
62
63       If supplied with an argument it will set the algorithm accordingly,
64       except when the argument equals the string "mnemonic" the method will
65       return the mnemonic of the algorithm.
66
67       Can also be called as a class method to do Mnemonic to Value conver‐
68       sion.
69
71       Copyright (c) 2001-2005  RIPE NCC.  Author Olaf M. Kolkman
72       <olaf@net-dns.org>
73
74       All Rights Reserved
75
76       Permission to use, copy, modify, and distribute this software and its
77       documentation for any purpose and without fee is hereby granted, pro‐
78       vided that the above copyright notice appear in all copies and that
79       both that copyright notice and this permission notice appear in sup‐
80       porting documentation, and that the name of the author not be used in
81       advertising or publicity pertaining to distribution of the software
82       without specific, written prior permission.
83
84       THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
85       INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO
86       EVENT SHALL AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL
87       DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
88       PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
89       ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF
90       THIS SOFTWARE.
91

SEE ALSO

93       <http://www.net-dns.org/>
94
95       perl(1), Net::DNS, Net::DNS::RR::KEY, Net::DNS::RR::SIG,
96       Net::DNS::RR::DNSKEY, Net::DNS::RR::RRSIG, Net::DNS::RR::NSEC,
97       Net::DNS::RR::DS, Net::DNS::SEC::Private.
98
99       RFC4033, 4034 and 4035.
100
101
102
103perl v5.8.8                       2006-02-14                            SEC(3)
Impressum