pub struct ReferenceResult {
pub uri: Option<String>,
pub digest_algorithm: DigestAlgorithm,
pub valid: bool,
pub pre_digest_data: Option<Vec<u8>>,
}Expand description
Per-reference verification result.
Fields§
§uri: Option<String>URI from the <Reference> element (for diagnostics).
digest_algorithm: DigestAlgorithmDigest algorithm used.
valid: boolWhether the computed digest matched the stored <DigestValue>.
pre_digest_data: Option<Vec<u8>>Pre-digest bytes (populated when store_pre_digest is enabled).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReferenceResult
impl RefUnwindSafe for ReferenceResult
impl Send for ReferenceResult
impl Sync for ReferenceResult
impl Unpin for ReferenceResult
impl UnsafeUnpin for ReferenceResult
impl UnwindSafe for ReferenceResult
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