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

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

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

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

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

Trait Implementations

impl Clone for CekAlgorithmHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CekAlgorithmHeader
[src]

Formats the value using the given formatter.

impl PartialEq for CekAlgorithmHeader
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for CekAlgorithmHeader
[src]

impl Default for CekAlgorithmHeader
[src]

Returns the "default value" for a type. Read more