Enum tame_gcs::signing::Key[][src]

pub enum Key<'a> {
    Pkcs8(&'a [u8]),
    Der(&'a [u8]),
    Hmac(&'a [u8]),
}

The supported key formats

Variants

Pkcs8(&'a [u8])

Unencrypted PKCS#8 RSA private key. See ring for more information

Der(&'a [u8])

Uncencrypted RSA private key that isn’t wrapped in PKCS#8. See ring for more information

Hmac(&'a [u8])

See ring for more information.

Trait Implementations

impl<'a> Debug for Key<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for Key<'a>

impl<'a> Send for Key<'a>

impl<'a> Sync for Key<'a>

impl<'a> Unpin for Key<'a>

impl<'a> UnwindSafe for Key<'a>

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.