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
nonce: Option<Vec<u8>>
Header for AES GCM Keywrap algorithm. The initialization vector, or nonce used in the encryption
tag: Option<Vec<u8>>
Header for AES GCM Keywrap algorithm. The authentication tag resulting from the encryption
Trait Implementations
impl Clone for CekAlgorithmHeader
[src]
fn clone(&self) -> CekAlgorithmHeader
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for CekAlgorithmHeader
[src]
impl PartialEq for CekAlgorithmHeader
[src]
fn eq(&self, __arg_0: &CekAlgorithmHeader) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CekAlgorithmHeader) -> bool
This method tests for !=
.
impl Eq for CekAlgorithmHeader
[src]
impl Default for CekAlgorithmHeader
[src]
fn default() -> CekAlgorithmHeader
Returns the "default value" for a type. Read more