Struct trust_dns_proto::rr::rdata::sshfp::SSHFP [−][src]
pub struct SSHFP { /* fields omitted */ }
Expand description
3.1. The SSHFP RDATA Format
The RDATA for a SSHFP RR consists of an algorithm number, fingerprint
type and the fingerprint of the public host key.
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| algorithm | fp type | /
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ /
/ /
/ fingerprint /
/ /
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
3.1.3. Fingerprint
The fingerprint is calculated over the public key blob as described
in [7].
The message-digest algorithm is presumed to produce an opaque octet
string output, which is placed as-is in the RDATA fingerprint field.
Implementations
Creates a new SSHFP record data.
Arguments
algorithm
- the SSH public key algorithm.fingerprint_type
- the fingerprint type to use.fingerprint
- the fingerprint of the public key.
The fingerprint type to use.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SSHFP
impl UnwindSafe for SSHFP
Blanket Implementations
Mutably borrows from an owned value. Read more