SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE




YUM REPOSITORY

 
 

MAN page from Mandriva 2010 perl-Net-DNS-SEC-0.160.0-1mdv2010.1.noarch.rpm

RR::DNSKEY

Section: User Contributed Perl Documentation (3)
Updated: 2010-03-12
Index 

NAME

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

SYNOPSIS

"use Net::DNS::RR;" 

DESCRIPTION

Class for DNSSEC KEY (DNSKEY) resource records. 

METHODS

 

flags

    print "flags" = ", $rr->flags, "\n";

Returns the RR's flags in decimal representation 

protocol

    print "protocol" = ", $rr->protocol, "\n";

Returns the RR's protocol field in decimal representation 

algorithm

    print "algoritm" = ", $rr->algorithm, "\n";

Returns the RR's algorithm field in decimal representation

    1 = RSA/MD5    2 = DH    3 = DSA/SHA-1    4 = Elliptic Curve    5 = RSA/SHA-1    6 - DSA/SHA-1 (NSEC3)    7 - RSA/SHA-1 (NSEC3)    8 - RSA/SHA-256     10 - RSA/SHA-512

Note that only algorithm 1 and 3 are supported by the methods providedthrough Net::DNS::RR::SIG.pm. 

key

    print "key" = ", $rr->key, "\n";

Returns the key in base64 representation 

keybin

    $keybin =  $rr->keybin;

Returns the key binary material 

keytag

    print "keytag" = ", $rr->keytag, "\n";

Returns the key tag of the key. (RFC2535 4.1.6) 

privatekeyname

    $privatekeyname=$rr->privatekeyname

Returns the name of the privatekey as it would be generated bythe BIND dnssec-keygen program. The format of that name beingK\<fqdn\>+\<algorithm\>+\<keyid\>.private 

is_sep, set_sep, clear_sep

is_sep() returns 1 if the secure entry point flag field is set,set_sep() sets secure entry point flag field is set and clear_sep()clears the value. 

keylength

Return the length of a key.

For RSA this method returns the length (in bits) of the modulus.

For DSA this method returnse the value of the T parameter (See RFC2536)

Returns -1 if the keysize cannot be determined (e.g. for unknown algorithmsalgorithm). 

COPYRIGHT

Copyright (c) 2003-2005 RIPE NCC. Author Olaf M. Kolkman <olafAATTnet-dns.org>

All Rights Reserved

Permission to use, copy, modify, and distribute this software and itsdocumentation for any purpose and without fee is hereby granted,provided that the above copyright notice appear in all copies and thatboth that copyright notice and this permission notice appear insupporting documentation, and that the name of the author not beused in advertising or publicity pertaining to distribution of thesoftware without specific, written prior permission.

THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDINGALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS; IN NO EVENT SHALLAUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANYDAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER INAN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OFOR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Based on, and contains, code by Copyright (c) 1997 Michael Fuhr. 

SEE ALSO

<http://www.net-dns.org/>

perl(1), Net::DNS, Net::DNS::Resolver, Net::DNS::Packet,Net::DNS::Header, Net::DNS::Question, Net::DNS::RR,RFC 4033, RFC 4034, RFC 4035.


 

Index

NAME
SYNOPSIS
DESCRIPTION
METHODS
flags
protocol
algorithm
key
keybin
keytag
privatekeyname
is_sep, set_sep, clear_sep
keylength
COPYRIGHT
SEE ALSO

This document was created byman2html,using the manual pages.