#[non_exhaustive]pub enum LockboxKeySlotAlgorithm {
Argon2idChaCha20Poly1305,
X25519MlKem768ChaCha20Poly1305,
}Expand description
Algorithm used by a key slot to wrap the lockbox content key.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Argon2idChaCha20Poly1305
Argon2id password derivation plus ChaCha20-Poly1305 key wrapping.
X25519MlKem768ChaCha20Poly1305
X25519 plus ML-KEM-768 contact wrapping, then ChaCha20-Poly1305.
Implementations§
Trait Implementations§
Source§impl Clone for LockboxKeySlotAlgorithm
impl Clone for LockboxKeySlotAlgorithm
Source§fn clone(&self) -> LockboxKeySlotAlgorithm
fn clone(&self) -> LockboxKeySlotAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LockboxKeySlotAlgorithm
Source§impl Debug for LockboxKeySlotAlgorithm
impl Debug for LockboxKeySlotAlgorithm
Source§impl Display for LockboxKeySlotAlgorithm
impl Display for LockboxKeySlotAlgorithm
impl Eq for LockboxKeySlotAlgorithm
Source§impl PartialEq for LockboxKeySlotAlgorithm
impl PartialEq for LockboxKeySlotAlgorithm
impl StructuralPartialEq for LockboxKeySlotAlgorithm
Auto Trait Implementations§
impl Freeze for LockboxKeySlotAlgorithm
impl RefUnwindSafe for LockboxKeySlotAlgorithm
impl Send for LockboxKeySlotAlgorithm
impl Sync for LockboxKeySlotAlgorithm
impl Unpin for LockboxKeySlotAlgorithm
impl UnsafeUnpin for LockboxKeySlotAlgorithm
impl UnwindSafe for LockboxKeySlotAlgorithm
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