[][src]Enum trust_dns_proto::rr::rdata::sshfp::FingerprintType

pub enum FingerprintType {
    Reserved,
    SHA1,
    SHA256,
    Unassigned(u8),
}
3.1.2.  Fingerprint Type Specification

   The fingerprint type octet describes the message-digest algorithm
   used to calculate the fingerprint of the public key.  The following
   values are assigned:

          Value    Fingerprint type
          -----    ----------------
          0        reserved
          1        SHA-1

   Reserving other types requires IETF consensus [4].

   For interoperability reasons, as few fingerprint types as possible
   should be reserved.  The only reason to reserve additional types is
   to increase security.

The fingerprint type values have been updated in RFC 6594.

Variants

Reserved

Reserved value

SHA1

SHA-1

SHA256

SHA-256

Unassigned(u8)

Unassigned value

Trait Implementations

impl From<u8> for FingerprintType[src]

impl From<FingerprintType> for u8[src]

impl Clone for FingerprintType[src]

impl Copy for FingerprintType[src]

impl Eq for FingerprintType[src]

impl PartialEq<FingerprintType> for FingerprintType[src]

impl Debug for FingerprintType[src]

impl Hash for FingerprintType[src]

impl StructuralPartialEq for FingerprintType[src]

impl StructuralEq for FingerprintType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,