Net::DNS::RR::SSHFP - DNS SSHFP resource record


NAME

Net::DNS::RR::SSHFP - DNS SSHFP resource record


SYNOPSIS

use Net::DNS::RR;


DESCRIPTION

Class for Delegation signer (SSHFP) resource records.


METHODS

In addition to the regular methods

algorithm

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

Returns the RR's algorithm field in decimal representation

    1 = RSA
    2 = DSS

fingerprint

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

Returns the SHA1 fingerprint over the label and key in hexadecimal representation.

fpbin

    $fpbin = $rr->fpbin;

Returns the fingerprint as binary material.

fptype

   print "fingerprint type" . " = " . $rr->fptype ."\n";

Returns the fingerprint type of the SSHFP RR.

babble

   print $rr->babble;

If Digest::BubbleBabble is available on the sytem this method returns the 'BabbleBubble' representation of the fingerprint. The 'BabbleBubble' string may be handy for telephone confirmation.

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

The method returns an empty string if Digest::BubbleBable is not installed.


TODO


ACKNOWLEDGEMENT

Jakob Schlyter for code review and supplying patches.


COPYRIGHT

Copyright (c) 2004 RIPE NCC, Olaf Kolkman.

``All rights reserved, This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.


SEE ALSO

perl(1), the Net::DNS manpage, the Net::DNS::Resolver manpage, the Net::DNS::Packet manpage, the Net::DNS::Header manpage, the Net::DNS::Question manpage, the Net::DNS::RR manpage, draft-ietf-dnssext-delegation-signer

 Net::DNS::RR::SSHFP - DNS SSHFP resource record