[][src]Enum yaca::KeyFormat

pub enum KeyFormat {
    Default,
    Pkcs8,
}

Enumeration of YACA key formats

Variants

Default

Key is either PKCS#1 for RSA or SSLeay for DSA, also use this option for symmetric

Pkcs8

Key is in PKCS#8, can only be used for asymmetric private keys

Trait Implementations

impl Debug for KeyFormat[src]

impl PartialEq<KeyFormat> for KeyFormat[src]

impl StructuralPartialEq for KeyFormat[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> From<T> for T[src]

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

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.