[][src]Struct pgp::types::EdDSASecretKey

pub struct EdDSASecretKey {
    pub secret: [u8; 32],
    pub oid: Vec<u8>,
}

Secret key for EdDSA with Curve25519, the only combination we currently support.

Fields

secret: [u8; 32]

The secret point.

oid: Vec<u8>

Trait Implementations

impl Drop for EdDSASecretKey[src]

impl Clone for EdDSASecretKey[src]

impl Eq for EdDSASecretKey[src]

impl PartialEq<EdDSASecretKey> for EdDSASecretKey[src]

impl Debug for EdDSASecretKey[src]

impl Zeroize for EdDSASecretKey[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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 = 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.

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<T> Same<T> for T

type Output = T

Should always be Self

impl<Z> Zeroize for Z where
    Z: DefaultIsZeroes
[src]

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

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