pub enum Integrity<'a> {
Password {
safe: Octets<'a>,
mac: Option<MacData<'a>>,
},
Signed(SignedData<'a>),
}Expand description
Original PFX integrity mode. Absence of a MAC is not authenticated data.
Variants§
Password
Password integrity over the exact logical AuthenticatedSafe octets.
Fields
Signed(SignedData<'a>)
Public-key integrity. The existing CMS processor owns signature rules.
Auto Trait Implementations§
impl<'a> !Freeze for Integrity<'a>
impl<'a> !RefUnwindSafe for Integrity<'a>
impl<'a> !Send for Integrity<'a>
impl<'a> !Sync for Integrity<'a>
impl<'a> !UnwindSafe for Integrity<'a>
impl<'a> Unpin for Integrity<'a>
impl<'a> UnsafeUnpin for Integrity<'a>
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