1Net::DNS::RR::SSHFP(3)User Contributed Perl DocumentationNet::DNS::RR::SSHFP(3)
2
3
4
6 Net::DNS::RR::SSHFP - DNS SSHFP resource record
7
9 use Net::DNS;
10 $rr = Net::DNS::RR->new('name SSHFP algorithm fptype fp');
11
13 DNS SSH Fingerprint (SSHFP) resource records.
14
16 The available methods are those inherited from the base class augmented
17 by the type-specific methods defined in this package.
18
19 Use of undocumented package features or direct access to internal data
20 structures is discouraged and could result in program termination or
21 other unpredictable behaviour.
22
23 algorithm
24 $algorithm = $rr->algorithm;
25 $rr->algorithm( $algorithm );
26
27 The 8-bit algorithm number describes the algorithm used to construct
28 the public key.
29
30 fptype
31 $fptype = $rr->fptype;
32 $rr->fptype( $fptype );
33
34 The 8-bit fingerprint type number describes the message-digest
35 algorithm used to calculate the fingerprint of the public key.
36
37 fingerprint
38 fp
39 $fp = $rr->fp;
40 $rr->fp( $fp );
41
42 Hexadecimal representation of the fingerprint digest.
43
44 fpbin
45 $fpbin = $rr->fpbin;
46 $rr->fpbin( $fpbin );
47
48 Returns opaque octet string representing the fingerprint digest.
49
50 babble
51 print $rr->babble;
52
53 The babble() method returns the 'BabbleBubble' representation of the
54 fingerprint if the Digest::BubbleBabble package is available, otherwise
55 an empty string is returned.
56
57 Bubble babble represents a message digest as a string of "real" words,
58 to make the fingerprint easier to remember. The "words" are not
59 necessarily real words, but they look more like words than a string of
60 hex characters.
61
62 Bubble babble fingerprinting is used by the SSH2 suite (and
63 consequently by Net::SSH::Perl, the Perl SSH implementation) to display
64 easy-to-remember key fingerprints.
65
66 The 'BubbleBabble' string is appended as a comment when the string
67 method is called.
68
70 Copyright (c)2007 Olaf Kolkman, NLnet Labs.
71
72 All rights reserved.
73
74 Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
75
77 Permission to use, copy, modify, and distribute this software and its
78 documentation for any purpose and without fee is hereby granted,
79 provided that the above copyright notice appear in all copies and that
80 both that copyright notice and this permission notice appear in
81 supporting documentation, and that the name of the author not be used
82 in advertising or publicity pertaining to distribution of the software
83 without specific prior written permission.
84
85 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
86 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
87 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
88 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
89 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
90 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
91 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
92
94 perl, Net::DNS, Net::DNS::RR, RFC4255
95
96
97
98perl v5.32.1 2021-01-27 Net::DNS::RR::SSHFP(3)