pub struct EncryptedDek {
pub ciphertext: Vec<u8>,
pub nonce: [u8; 24],
}Expand description
Encrypted DEK stored in file manifest
Fields§
§ciphertext: Vec<u8>Encrypted DEK bytes
nonce: [u8; 24]Nonce used for encryption
Trait Implementations§
Source§impl Clone for EncryptedDek
impl Clone for EncryptedDek
Source§fn clone(&self) -> EncryptedDek
fn clone(&self) -> EncryptedDek
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 EncryptedDek
impl Debug for EncryptedDek
Source§impl<'de> Deserialize<'de> for EncryptedDek
impl<'de> Deserialize<'de> for EncryptedDek
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EncryptedDek
impl RefUnwindSafe for EncryptedDek
impl Send for EncryptedDek
impl Sync for EncryptedDek
impl Unpin for EncryptedDek
impl UnwindSafe for EncryptedDek
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