#[non_exhaustive]pub struct VerifyResult {
pub status: DsigStatus,
pub signed_info_references: Vec<ReferenceResult>,
pub manifest_references: Vec<ReferenceResult>,
pub canonicalized_signed_info: Option<Vec<u8>>,
}Expand description
End-to-end XMLDSig verification result for one <Signature>.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: DsigStatusFinal XMLDSig status for this signature.
signed_info_references: Vec<ReferenceResult><Reference> verification results from <SignedInfo>.
On fail-fast, this includes references up to and including
the first digest mismatch only.
manifest_references: Vec<ReferenceResult><Manifest> reference results. Empty until manifest processing is implemented.
canonicalized_signed_info: Option<Vec<u8>>Canonicalized <SignedInfo> bytes when store_pre_digest is enabled
and verification reaches SignedInfo canonicalization.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VerifyResult
impl RefUnwindSafe for VerifyResult
impl Send for VerifyResult
impl Sync for VerifyResult
impl Unpin for VerifyResult
impl UnsafeUnpin for VerifyResult
impl UnwindSafe for VerifyResult
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