pub struct PssPadding {
pub algorithm: HashAlgorithmId,
pub salt: u32,
}
Expand description
Probabilistic Signature Scheme (PSS) padding scheme.
Fields§
§algorithm: HashAlgorithmId
Hashing algorithm to be used to create the padding.
salt: u32
The size, in bytes, of the random salt to use for the padding.
Trait Implementations§
Source§impl Clone for PssPadding
impl Clone for PssPadding
Source§fn clone(&self) -> PssPadding
fn clone(&self) -> PssPadding
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for PssPadding
Auto Trait Implementations§
impl Freeze for PssPadding
impl RefUnwindSafe for PssPadding
impl Send for PssPadding
impl Sync for PssPadding
impl Unpin for PssPadding
impl UnwindSafe for PssPadding
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