pub struct AuthenticatedProofBundleVerification {
pub valid: bool,
pub envelope: AuthenticatedProofEnvelopeVerification,
pub proof: Option<ProofBundleVerification>,
pub proof_error: Option<String>,
}Expand description
Verification result for serialized authenticated proof envelope bytes.
valid is true only when the envelope signature/time checks pass and the
authenticated proof bundle verifies. When the envelope verifies but the proof
bundle cannot be decoded, proof is None and proof_error describes the
authenticated proof failure.
Fields§
§valid: boolTrue when both the envelope and contained proof bundle verify.
envelope: AuthenticatedProofEnvelopeVerificationHMAC/time verification for the authenticated envelope.
proof: Option<ProofBundleVerification>Store-independent verification of the authenticated proof bundle.
proof_error: Option<String>Proof decode/verification error for an otherwise valid envelope.
Trait Implementations§
Source§impl Clone for AuthenticatedProofBundleVerification
impl Clone for AuthenticatedProofBundleVerification
Source§fn clone(&self) -> AuthenticatedProofBundleVerification
fn clone(&self) -> AuthenticatedProofBundleVerification
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 Eq for AuthenticatedProofBundleVerification
impl StructuralPartialEq for AuthenticatedProofBundleVerification
Auto Trait Implementations§
impl Freeze for AuthenticatedProofBundleVerification
impl RefUnwindSafe for AuthenticatedProofBundleVerification
impl Send for AuthenticatedProofBundleVerification
impl Sync for AuthenticatedProofBundleVerification
impl Unpin for AuthenticatedProofBundleVerification
impl UnsafeUnpin for AuthenticatedProofBundleVerification
impl UnwindSafe for AuthenticatedProofBundleVerification
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more