Struct biscuit::jwa::EncryptionResult
[−]
[src]
pub struct EncryptionResult { pub nonce: Vec<u8>, pub encrypted: Vec<u8>, pub tag: Vec<u8>, pub additional_data: Vec<u8>, }
The result returned from an encryption operation
Fields
nonce: Vec<u8>
The initialization vector, or nonce used in the encryption
encrypted: Vec<u8>
The encrypted payload
tag: Vec<u8>
The authentication tag
additional_data: Vec<u8>
Additional authenticated data that is integrity protected but not encrypted
Trait Implementations
impl Clone for EncryptionResult
[src]
fn clone(&self) -> EncryptionResult
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 EncryptionResult
[src]
impl Eq for EncryptionResult
[src]
impl PartialEq for EncryptionResult
[src]
fn eq(&self, __arg_0: &EncryptionResult) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EncryptionResult) -> bool
This method tests for !=
.
impl Default for EncryptionResult
[src]
fn default() -> EncryptionResult
Returns the "default value" for a type. Read more