pub enum KeyFormat {
LockboxPem,
Jwk,
Jwks,
RawHex,
}Expand description
Supported contact key serialization formats.
Variants§
LockboxPem
Lockbox PEM envelope containing a Lockbox JWK payload.
Jwk
Single JSON Web Key object.
Jwks
JSON Web Key Set containing one key.
RawHex
Raw key bytes encoded as hexadecimal text.
Implementations§
Trait Implementations§
impl Copy for KeyFormat
impl Eq for KeyFormat
impl StructuralPartialEq for KeyFormat
Auto Trait Implementations§
impl Freeze for KeyFormat
impl RefUnwindSafe for KeyFormat
impl Send for KeyFormat
impl Sync for KeyFormat
impl Unpin for KeyFormat
impl UnsafeUnpin for KeyFormat
impl UnwindSafe for KeyFormat
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