pub struct EnclaveKeyHandle {
pub id: Uuid,
pub algorithm: KeyAlgorithm,
pub public_key: Option<Vec<u8>>,
pub created_at: Timestamp,
pub attestation: Option<AttestationReport>,
}Expand description
Handle to a cryptographic key stored inside a TEE enclave
Fields§
§id: UuidUnique key ID
algorithm: KeyAlgorithmAlgorithm of the key
public_key: Option<Vec<u8>>Public key (if applicable), None for symmetric keys
created_at: TimestampTimestamp when key was created
attestation: Option<AttestationReport>Optional attestation proving the key was generated in a TEE
Trait Implementations§
Source§impl Clone for EnclaveKeyHandle
impl Clone for EnclaveKeyHandle
Source§fn clone(&self) -> EnclaveKeyHandle
fn clone(&self) -> EnclaveKeyHandle
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 moreSource§impl Debug for EnclaveKeyHandle
impl Debug for EnclaveKeyHandle
Source§impl<'de> Deserialize<'de> for EnclaveKeyHandle
impl<'de> Deserialize<'de> for EnclaveKeyHandle
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnclaveKeyHandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnclaveKeyHandle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for EnclaveKeyHandle
Source§impl PartialEq for EnclaveKeyHandle
impl PartialEq for EnclaveKeyHandle
Source§fn eq(&self, other: &EnclaveKeyHandle) -> bool
fn eq(&self, other: &EnclaveKeyHandle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnclaveKeyHandle
impl Serialize for EnclaveKeyHandle
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for EnclaveKeyHandle
Auto Trait Implementations§
impl Freeze for EnclaveKeyHandle
impl RefUnwindSafe for EnclaveKeyHandle
impl Send for EnclaveKeyHandle
impl Sync for EnclaveKeyHandle
impl Unpin for EnclaveKeyHandle
impl UnsafeUnpin for EnclaveKeyHandle
impl UnwindSafe for EnclaveKeyHandle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.