pub enum KeyProtection {
Hardware,
SecureElement,
RemoteHandle,
Tee,
Software,
}Expand description
The class of key protection.
Variants§
Hardware
The key is stored in hardware. This is exclusive to software
SecureElement
Secure Element
RemoteHandle
The private key is stored in a key-wrapped-key. This can still be “hardware” backed where the KWK can only be decrypted by a specific device’s hardware.
Tee
Trusted Execution Environment.
Software
The key is stored in software. This is exclusive to hardware
Trait Implementations§
Source§impl Clone for KeyProtection
impl Clone for KeyProtection
Source§fn clone(&self) -> KeyProtection
fn clone(&self) -> KeyProtection
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 KeyProtection
impl Debug for KeyProtection
Source§impl<'de> Deserialize<'de> for KeyProtection
impl<'de> Deserialize<'de> for KeyProtection
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
Auto Trait Implementations§
impl Freeze for KeyProtection
impl RefUnwindSafe for KeyProtection
impl Send for KeyProtection
impl Sync for KeyProtection
impl Unpin for KeyProtection
impl UnwindSafe for KeyProtection
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