pub enum Version {
V1,
V2,
}Expand description
The signed attribute’s schema, not the CMS content digest algorithm.
Variants§
V1
SHA-1 is mandatory in ESSCertID (RFC2634 §5.4.1).
V2
ESSCertIDv2 carries an algorithm or omits its SHA-256 default.
Implementations§
Trait Implementations§
impl Copy for Version
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnsafeUnpin for Version
impl UnwindSafe for Version
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