pub struct OnlineCiphertextHeader { /* private fields */ }
Expand description
A versionned online ciphertext.
Implementations§
Source§impl OnlineCiphertextHeader
impl OnlineCiphertextHeader
pub fn into_decryptor( self, key: &[u8], aad: &[u8], ) -> Result<OnlineCiphertextDecryptor>
pub fn into_decryptor_asymmetric( self, key: &PrivateKey, aad: &[u8], ) -> Result<OnlineCiphertextDecryptor>
pub fn get_serialized_size(&self) -> usize
pub fn get_chunk_size(&self) -> u32
Trait Implementations§
Source§impl Clone for OnlineCiphertextHeader
impl Clone for OnlineCiphertextHeader
Source§fn clone(&self) -> OnlineCiphertextHeader
fn clone(&self) -> OnlineCiphertextHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OnlineCiphertextHeader
impl Debug for OnlineCiphertextHeader
Source§impl From<&OnlineCiphertextHeader> for Vec<u8>
impl From<&OnlineCiphertextHeader> for Vec<u8>
Source§fn from(value: &OnlineCiphertextHeader) -> Self
fn from(value: &OnlineCiphertextHeader) -> Self
Converts to this type from the input type.
Source§impl HeaderType for OnlineCiphertextHeader
impl HeaderType for OnlineCiphertextHeader
Auto Trait Implementations§
impl Freeze for OnlineCiphertextHeader
impl RefUnwindSafe for OnlineCiphertextHeader
impl Send for OnlineCiphertextHeader
impl Sync for OnlineCiphertextHeader
impl Unpin for OnlineCiphertextHeader
impl UnwindSafe for OnlineCiphertextHeader
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