pub enum OnlineCiphertextDecryptor {
V1(OnlineCiphertextV1Decryptor),
}Variants§
V1(OnlineCiphertextV1Decryptor)
Implementations§
Source§impl OnlineCiphertextDecryptor
impl OnlineCiphertextDecryptor
pub fn get_chunk_size(&self) -> u32
pub fn get_tag_size(&self) -> usize
pub fn get_header(&self) -> OnlineCiphertextHeader
pub fn decrypt_next_chunk(&mut self, data: &[u8], aad: &[u8]) -> Result<Vec<u8>>
pub fn decrypt_next_chunk_in_place( &mut self, data: &mut Vec<u8>, aad: &[u8], ) -> Result<()>
pub fn decrypt_last_chunk(self, data: &[u8], aad: &[u8]) -> Result<Vec<u8>>
pub fn decrypt_last_chunk_in_place( self, data: &mut Vec<u8>, aad: &[u8], ) -> Result<()>
Auto Trait Implementations§
impl Freeze for OnlineCiphertextDecryptor
impl RefUnwindSafe for OnlineCiphertextDecryptor
impl Send for OnlineCiphertextDecryptor
impl Sync for OnlineCiphertextDecryptor
impl Unpin for OnlineCiphertextDecryptor
impl UnsafeUnpin for OnlineCiphertextDecryptor
impl UnwindSafe for OnlineCiphertextDecryptor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more