pub enum DigestStatus {
Verified,
Mismatch,
Unsupported,
}Expand description
Verdict of the byte-range digest check.
Variants§
Verified
The recomputed digest of the signed byte range matches the
messageDigest embedded in the CMS: the covered bytes are intact.
Mismatch
The digests differ: the covered bytes were altered after signing.
Unsupported
No comparable digest could be obtained — an unsupported /SubFilter,
an unknown digest algorithm, an out-of-range /ByteRange, or a CMS blob
without an extractable messageDigest. The other fields are still valid.
Implementations§
Trait Implementations§
Source§impl Clone for DigestStatus
impl Clone for DigestStatus
Source§fn clone(&self) -> DigestStatus
fn clone(&self) -> DigestStatus
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 DigestStatus
Source§impl Debug for DigestStatus
impl Debug for DigestStatus
impl Eq for DigestStatus
Source§impl PartialEq for DigestStatus
impl PartialEq for DigestStatus
impl StructuralPartialEq for DigestStatus
Auto Trait Implementations§
impl Freeze for DigestStatus
impl RefUnwindSafe for DigestStatus
impl Send for DigestStatus
impl Sync for DigestStatus
impl Unpin for DigestStatus
impl UnsafeUnpin for DigestStatus
impl UnwindSafe for DigestStatus
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