pub struct Protection<'a> { /* private fields */ }Expand description
Original identifiers covered by CMSAlgorithmProtection (RFC6211 §2).
Implementations§
Source§impl<'a> Protection<'a>
impl<'a> Protection<'a>
Sourcepub fn digest(&self) -> AlgorithmIdentifier<'a>
pub fn digest(&self) -> AlgorithmIdentifier<'a>
Original protected digest identifier; defaults need selected-provider resolution.
Sourcepub fn signature(&self) -> AlgorithmIdentifier<'a>
pub fn signature(&self) -> AlgorithmIdentifier<'a>
Original protected signature identifier, retaining its IMPLICIT [1] tag.
Trait Implementations§
Source§impl<'a> Clone for Protection<'a>
impl<'a> Clone for Protection<'a>
impl<'a> Copy for Protection<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Protection<'a>
impl<'a> !Send for Protection<'a>
impl<'a> !Sync for Protection<'a>
impl<'a> !UnwindSafe for Protection<'a>
impl<'a> Freeze for Protection<'a>
impl<'a> Unpin for Protection<'a>
impl<'a> UnsafeUnpin for Protection<'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