pub struct Pkcs1Padding {
pub algorithm: HashAlgorithmId,
}
Expand description
PKCS #1 padding scheme.
Fields§
§algorithm: HashAlgorithmId
Hashing algorithm to be used to create the padding.
Trait Implementations§
Source§impl Clone for Pkcs1Padding
impl Clone for Pkcs1Padding
Source§fn clone(&self) -> Pkcs1Padding
fn clone(&self) -> Pkcs1Padding
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 Pkcs1Padding
Auto Trait Implementations§
impl Freeze for Pkcs1Padding
impl RefUnwindSafe for Pkcs1Padding
impl Send for Pkcs1Padding
impl Sync for Pkcs1Padding
impl Unpin for Pkcs1Padding
impl UnwindSafe for Pkcs1Padding
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