pub struct Keyslot {
pub hash_algorithm: HashingAlgorithm,
pub encrypted_key: [u8; 48],
pub nonce: Vec<u8>,
pub salt: [u8; 16],
}Expand description
This defines a keyslot that is used with header V4 and above. A keyslot contains information about the key, and the encrypted key itself
Fields§
§hash_algorithm: HashingAlgorithm§encrypted_key: [u8; 48]§nonce: Vec<u8>§salt: [u8; 16]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Keyslot
impl RefUnwindSafe for Keyslot
impl Send for Keyslot
impl Sync for Keyslot
impl Unpin for Keyslot
impl UnwindSafe for Keyslot
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