pub enum AttestationSignatureResult {
Verified {
key_id: Option<String>,
algorithm: String,
},
Unsigned,
Invalid(String),
NoMatchingKey,
}Expand description
Result of verifying an attestation signature
Variants§
Verified
Signature verified successfully against a trusted key
Unsigned
Attestation is unsigned (algorithm = “unsigned”)
Invalid(String)
Signature verification failed
NoMatchingKey
No matching trusted key found
Trait Implementations§
Source§impl Clone for AttestationSignatureResult
impl Clone for AttestationSignatureResult
Source§fn clone(&self) -> AttestationSignatureResult
fn clone(&self) -> AttestationSignatureResult
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 moreAuto Trait Implementations§
impl Freeze for AttestationSignatureResult
impl RefUnwindSafe for AttestationSignatureResult
impl Send for AttestationSignatureResult
impl Sync for AttestationSignatureResult
impl Unpin for AttestationSignatureResult
impl UnwindSafe for AttestationSignatureResult
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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