[][src]Enum yaca::KeyFileFormat

pub enum KeyFileFormat {
    Raw,
    Base64,
    Pem,
    Der,
}

Enumeration of YACA key file formats

Variants

Raw

Key file is in raw binary format, used for symmetric keys

Base64

Key file is encoded in ASCII-base64, used for symmetric keys

Pem

Key file is in PEM file format, used for asymmetric keys

Der

Key file is in DER file format, used for asymmetric keys

Trait Implementations

impl Debug for KeyFileFormat[src]

impl PartialEq<KeyFileFormat> for KeyFileFormat[src]

impl StructuralPartialEq for KeyFileFormat[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.