pub enum EncodingConformance {
Matches,
Mismatch(Error),
Unchecked(PkiEncoding),
}Expand description
Declaration admission is independent of timestamp mathematics and trust.
Matches means the existing CMS Token reader accepts that encoding; it
does not clear readable token faults or validate every opaque ANY value.
Variants§
Matches
The declared encoding’s CMS envelope reader accepted the original bytes.
Mismatch(Error)
That reader refused syntax; the CMS profile still read the BER envelope.
Unchecked(PkiEncoding)
No canonical checker exists for this encoding. BER success is not CER conformance (X.690 §9); callers must not count this as a match.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for EncodingConformance
impl Forget for EncodingConformance
impl RefUnwindSafe for EncodingConformance
impl Send for EncodingConformance
impl Sync for EncodingConformance
impl Unpin for EncodingConformance
impl UnsafeUnpin for EncodingConformance
impl UnwindSafe for EncodingConformance
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