Trait Ciphertext

Source
pub trait Ciphertext {
    // Required method
    fn ciphertext(&self) -> &[u8] ;
}
Expand description

Contains encrypted data.

Provides a common interface for accessing the ciphertext portion of encrypted data structures.

Required Methods§

Source

fn ciphertext(&self) -> &[u8]

Return the encrypted bytes as a slice.

Implementations on Foreign Types§

Source§

impl Ciphertext for CredentialVault

Source§

fn ciphertext(&self) -> &[u8]

Source§

impl Ciphertext for Envelope

Source§

fn ciphertext(&self) -> &[u8]

Source§

impl Ciphertext for GenericVault

Source§

fn ciphertext(&self) -> &[u8]

Source§

impl Ciphertext for MessageVault

Source§

fn ciphertext(&self) -> &[u8]

Source§

impl Ciphertext for SealedEnvelopeId

Source§

fn ciphertext(&self) -> &[u8]

Source§

impl Ciphertext for SealedMessageVaultId

Source§

fn ciphertext(&self) -> &[u8]

Implementors§