[−][src]Trait over_there::core::transport::crypto::Decrypter
Capable of decrypting data
Required methods
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
Implementors
impl Decrypter for Aes128GcmBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl Decrypter for Aes128GcmSivBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl Decrypter for Aes128SivBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl Decrypter for Aes256GcmBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl Decrypter for Aes256GcmSivBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl Decrypter for Aes256SivBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl Decrypter for NoopBicrypter
[src]
fn decrypt(
&self,
buffer: &[u8],
_: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
_: &AssociatedData
) -> Result<Vec<u8>, CryptError>
Does nothing but return existing data - NoOp
impl<D> Decrypter for DecrypterHalf<D> where
D: Decrypter,
[src]
D: Decrypter,
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl<F> Decrypter for ClosureDecrypter<F> where
F: Fn(&[u8], &AssociatedData) -> Result<Vec<u8>, CryptError> + Clone,
[src]
F: Fn(&[u8], &AssociatedData) -> Result<Vec<u8>, CryptError> + Clone,
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
impl<T: Bicrypter> Decrypter for NonceCacheBicrypter<T>
[src]
fn decrypt(
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>
[src]
&self,
buffer: &[u8],
associated_data: &AssociatedData
) -> Result<Vec<u8>, CryptError>