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::DS

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

NAME

Net::DNS::RR::DS - DNS DS resource record 

SYNOPSIS

"use Net::DNS::RR;" 

DESCRIPTION

Class for Delegation signer (DS) resource records. 

METHODS

In addition to the regular methods 

create

This constructor takes a key object as argument and will return a DSRR object.

$dsrr=create Net::DNS::RR::DS($keyrr, (
                  digtype => ``SHA256'');$keyrr->print;$dsrr->print;

The digest type defaults to SHA1. 

verify

The verify method will return 1 if the hash over the key provided inthe argument matches the data in the $dsrr itself i.e. if the DSpointing to the DNSKEY from the argument. It will return 0otherwise.

$dsrr->($keyrr); 

algorithm

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

Returns the RR's algorithm field in decimal representation

    1 = MD5 RSA    2 = DH    3 = DSA    4 = Elliptic curve
 

digest

    print "digest" = ", $dsrr->digest, "\n";

Returns the SHA1 digest over the label and key in hexadecimal representation 

digestbin

    $digestbin =  $dsrr->digestbin;

Returns the digest as binary material 

keytag

    print "keytag" ." = ". $dsrr->keytag . "\n";

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

digtype

   print "digest type" . " = " . $dsrr->digtype ."\n";

Returns the digest type of the DS RR. 

babble

   print $dsrr->babble;

Returns the 'BabbleBubble' representation of the digest. The'BabbleBubble' string may be handy for telephone confirmation.

The 'BabbleBubble' string returned as a comment behind the RDATA whenthe string method is called. 

COPYRIGHT

Copyright (c) 2001-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, RFC4034, RFC4035


 

Index

NAME
SYNOPSIS
DESCRIPTION
METHODS
create
verify
algorithm
digest
digestbin
keytag
digtype
babble
COPYRIGHT
SEE ALSO

This document was created byman2html,using the manual pages.