pub enum SecurityKeyWrap {
V1,
V2,
}Expand description
Which of a security key’s wraps opened (open_with_security_key).
Variants§
V1
v1: an age X25519 stanza to the credential’s derived recipient. Not
quantum-safe: re-wrap it to v2 (UserKey::wrap_to_security_key_v2).
V2
v2: symmetric under HKDF of the PRF output (crate::skwrap).
Trait Implementations§
Source§impl Clone for SecurityKeyWrap
impl Clone for SecurityKeyWrap
impl Copy for SecurityKeyWrap
Source§impl Debug for SecurityKeyWrap
impl Debug for SecurityKeyWrap
impl Eq for SecurityKeyWrap
Source§impl PartialEq for SecurityKeyWrap
impl PartialEq for SecurityKeyWrap
impl StructuralPartialEq for SecurityKeyWrap
Auto Trait Implementations§
impl Freeze for SecurityKeyWrap
impl RefUnwindSafe for SecurityKeyWrap
impl Send for SecurityKeyWrap
impl Sync for SecurityKeyWrap
impl Unpin for SecurityKeyWrap
impl UnsafeUnpin for SecurityKeyWrap
impl UnwindSafe for SecurityKeyWrap
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