pub struct KeyHandle(/* private fields */);Expand description
Opaque handle to a cryptographic key managed by a KeyCustody implementation.
The handle is an integer identifier. Implementations map this to actual key
material stored internally (e.g., in a HashMap, Secure Enclave slot, or
Android Keystore alias). The raw private key never leaves the custody
boundary.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for KeyHandle
impl<'de> Deserialize<'de> for KeyHandle
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
impl Copy for KeyHandle
impl Eq for KeyHandle
impl StructuralPartialEq for KeyHandle
Auto Trait Implementations§
impl Freeze for KeyHandle
impl RefUnwindSafe for KeyHandle
impl Send for KeyHandle
impl Sync for KeyHandle
impl Unpin for KeyHandle
impl UnsafeUnpin for KeyHandle
impl UnwindSafe for KeyHandle
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