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

The initialization vector, or nonce used in the encryption

The encrypted payload

The authentication tag

Additional authenticated data that is integrity protected but not encrypted

Trait Implementations

impl Clone for EncryptionResult
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EncryptionResult
[src]

Formats the value using the given formatter.

impl Eq for EncryptionResult
[src]

impl PartialEq for EncryptionResult
[src]

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

This method tests for !=.

impl Default for EncryptionResult
[src]

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