NLnet Labs > Net-DNS-0.78 > Net::DNS::RR::SSHFP

Download:
Net-DNS-0.78.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  2
Stalled  6
View/Report Bugs
Module Version: 1188   Source   Latest Release: Net-DNS-0.78_1

NAME ^

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

SYNOPSIS ^

    use Net::DNS;
    $rr = new Net::DNS::RR('name SSHFP algorithm fptype fp');

DESCRIPTION ^

DNS SSH Fingerprint (SSHFP) resource records.

METHODS ^

The available methods are those inherited from the base class augmented by the type-specific methods defined in this package.

Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or other unpredictable behaviour.

algorithm

    $algorithm = $rr->algorithm;
    $rr->algorithm( $algorithm );

The 8-bit algorithm number describes the algorithm used to construct the public key.

fptype

    $fptype = $rr->fptype;
    $rr->fptype( $fptype );

The 8-bit fingerprint type number describes the message-digest algorithm used to calculate the fingerprint of the public key.

fp

    $fp = $rr->fp;
    $rr->fp( $fp );

Hexadecimal representation of the fingerprint digest.

fpbin

    $fpbin = $rr->fpbin;
    $rr->fpbin( $fpbin );

Returns opaque octet string representing the fingerprint digest.

babble

    print $rr->babble;

The babble() method returns the 'BabbleBubble' representation of the fingerprint if the Digest::BubbleBabble package is available, otherwise an empty string is returned.

Bubble babble represents a message digest as a string of "real" words, to make the fingerprint easier to remember. The "words" are not necessarily real words, but they look more like words than a string of hex characters.

Bubble babble fingerprinting is used by the SSH2 suite (and consequently by Net::SSH::Perl, the Perl SSH implementation) to display easy-to-remember key fingerprints.

The 'BubbleBabble' string is appended as a comment to the RDATA when the string method is called.

COPYRIGHT ^

Copyright (c)2007 Olaf Kolkman, NLnet Labs.

All rights reserved.

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

Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.

SEE ALSO ^

perl, Net::DNS, Net::DNS::RR, RFC4255

syntax highlighting: