[][src]Enum sequoia_openpgp::crypto::mpi::SecretKeyChecksum

pub enum SecretKeyChecksum {
    SHA1,
    Sum16,
}

Checksum method for secret key material.

Secret key material may be protected by a checksum. See Section 5.5.3 of RFC 4880 for details.

Variants

SHA1

SHA1 over the decrypted secret key.

Sum16

Sum of the decrypted secret key octets modulo 65536.

Trait Implementations

impl Clone for SecretKeyChecksum[src]

impl Copy for SecretKeyChecksum[src]

impl Debug for SecretKeyChecksum[src]

impl Default for SecretKeyChecksum[src]

impl Eq for SecretKeyChecksum[src]

impl Hash for SecretKeyChecksum[src]

impl PartialEq<SecretKeyChecksum> for SecretKeyChecksum[src]

impl StructuralEq for SecretKeyChecksum[src]

impl StructuralPartialEq for SecretKeyChecksum[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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 = Infallible

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.