pub struct PendingCiphertext {
pub kid: u64,
pub metadata: Vec<u8>,
pub ciphertext: Vec<u8>,
}Expand description
A ciphertext waiting for its key, with the metadata it has to be decrypted with.
Fields§
§kid: u64The KID in the ciphertext’s header.
metadata: Vec<u8>The metadata the application supplies to decryption.
ciphertext: Vec<u8>The SFrame ciphertext, whole.
Trait Implementations§
Source§impl Clone for PendingCiphertext
impl Clone for PendingCiphertext
Source§impl Debug for PendingCiphertext
impl Debug for PendingCiphertext
impl Eq for PendingCiphertext
Source§impl PartialEq for PendingCiphertext
impl PartialEq for PendingCiphertext
impl StructuralPartialEq for PendingCiphertext
Auto Trait Implementations§
impl Forget for PendingCiphertext
impl Freeze for PendingCiphertext
impl Move for PendingCiphertext
impl RefUnwindSafe for PendingCiphertext
impl Send for PendingCiphertext
impl Sync for PendingCiphertext
impl Unpin for PendingCiphertext
impl UnsafeUnpin for PendingCiphertext
impl UnwindSafe for PendingCiphertext
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