Struct openid::biscuit::jwe::CekAlgorithmHeader[][src]

pub struct CekAlgorithmHeader {
    pub nonce: Option<Vec<u8, Global>>,
    pub tag: Option<Vec<u8, Global>>,
}

Headers specific to the Key management algorithm used. Users should typically not construct these fields as they will be filled in automatically when encrypting and stripped when decrypting

Fields

nonce: Option<Vec<u8, Global>>

Header for AES GCM Keywrap algorithm. The initialization vector, or nonce used in the encryption

tag: Option<Vec<u8, Global>>

Header for AES GCM Keywrap algorithm. The authentication tag resulting from the encryption

Trait Implementations

impl Clone for CekAlgorithmHeader[src]

impl Debug for CekAlgorithmHeader[src]

impl Default for CekAlgorithmHeader[src]

impl<'de> Deserialize<'de> for CekAlgorithmHeader[src]

impl Eq for CekAlgorithmHeader[src]

impl PartialEq<CekAlgorithmHeader> for CekAlgorithmHeader[src]

impl Serialize for CekAlgorithmHeader[src]

impl StructuralEq for CekAlgorithmHeader[src]

impl StructuralPartialEq for CekAlgorithmHeader[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.