pub struct Legacy<'a> {
pub salt: Octets<'a>,
pub iterations: Integer<'a>,
}Expand description
Salt/iteration parameter grammar shared by PBES1 and legacy PKCS#12 PBE.
Fields§
§salt: Octets<'a>Original salt; PBES1 alone requires exactly eight octets.
iterations: Integer<'a>Strictly positive original work factor, with no machine-width clamp.
Auto Trait Implementations§
impl<'a> !Freeze for Legacy<'a>
impl<'a> !RefUnwindSafe for Legacy<'a>
impl<'a> !Send for Legacy<'a>
impl<'a> !Sync for Legacy<'a>
impl<'a> !UnwindSafe for Legacy<'a>
impl<'a> Unpin for Legacy<'a>
impl<'a> UnsafeUnpin for Legacy<'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