pub enum EnvelopeVerificationStatus {
DigestInvalid,
DigestValidOnly,
SignatureInvalid,
SignatureValidSignerUnauthorized,
SignerAuthorizedTimeInvalid,
TimeValidPolicyRejected,
FullyVerified,
}Expand description
Highest verification stage reached by an envelope.
Variants§
DigestInvalid
Artifact bytes do not match the envelope digest.
DigestValidOnly
Digest matches, but no signature is present.
SignatureInvalid
A signature is present but invalid or unverifiable.
Signature is valid, but signer identity lacks authorization.
SignerAuthorizedTimeInvalid
Signer is authorized, but trusted time is outside the accepted window.
TimeValidPolicyRejected
Time is valid, but policy admission is rejected.
FullyVerified
Every verification stage passed.
Trait Implementations§
Source§impl Clone for EnvelopeVerificationStatus
impl Clone for EnvelopeVerificationStatus
Source§fn clone(&self) -> EnvelopeVerificationStatus
fn clone(&self) -> EnvelopeVerificationStatus
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 moreimpl Copy for EnvelopeVerificationStatus
Source§impl Debug for EnvelopeVerificationStatus
impl Debug for EnvelopeVerificationStatus
Source§impl<'de> Deserialize<'de> for EnvelopeVerificationStatus
impl<'de> Deserialize<'de> for EnvelopeVerificationStatus
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 Eq for EnvelopeVerificationStatus
impl StructuralPartialEq for EnvelopeVerificationStatus
Auto Trait Implementations§
impl Freeze for EnvelopeVerificationStatus
impl RefUnwindSafe for EnvelopeVerificationStatus
impl Send for EnvelopeVerificationStatus
impl Sync for EnvelopeVerificationStatus
impl Unpin for EnvelopeVerificationStatus
impl UnsafeUnpin for EnvelopeVerificationStatus
impl UnwindSafe for EnvelopeVerificationStatus
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