pub enum EncryptionKey {
Fxfs(FxfsKey),
FscryptInoLblk32File {
key_identifier: [u8; 16],
},
FscryptInoLblk32Dir {
key_identifier: [u8; 16],
nonce: [u8; 16],
},
}
Expand description
This specifies a single key to be used to encrypt/decrypt.
Variants§
Trait Implementations§
Source§impl<'a> Arbitrary<'a> for EncryptionKey
impl<'a> Arbitrary<'a> for EncryptionKey
Source§fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'a>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
fn arbitrary_take_rest(u: Unstructured<'a>) -> Result<Self, Error>
Generate an arbitrary value of
Self
from the entirety of the given unstructured data. Read moreSource§impl Clone for EncryptionKey
impl Clone for EncryptionKey
Source§fn clone(&self) -> EncryptionKey
fn clone(&self) -> EncryptionKey
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 EncryptionKey
impl Debug for EncryptionKey
Source§impl<'de> Deserialize<'de> for EncryptionKey
impl<'de> Deserialize<'de> for EncryptionKey
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
Source§impl From<EncryptionKey> for WrappedKey
impl From<EncryptionKey> for WrappedKey
Source§fn from(value: EncryptionKey) -> Self
fn from(value: EncryptionKey) -> Self
Converts to this type from the input type.
Source§impl PartialEq for EncryptionKey
impl PartialEq for EncryptionKey
Source§impl Serialize for EncryptionKey
impl Serialize for EncryptionKey
Source§impl TypeFingerprint for EncryptionKey
impl TypeFingerprint for EncryptionKey
fn fingerprint() -> String
impl StructuralPartialEq for EncryptionKey
Auto Trait Implementations§
impl Freeze for EncryptionKey
impl RefUnwindSafe for EncryptionKey
impl Send for EncryptionKey
impl Sync for EncryptionKey
impl Unpin for EncryptionKey
impl UnwindSafe for EncryptionKey
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