Struct cryptoki::types::mechanism::rsa::PkcsPssParams [−][src]
Parameters of the RsaPkcsPss mechanism
Fields
hash_alg: MechanismType
hash algorithm used in the PSS encoding; if the signature mechanism does not include message hashing, then this value must be the mechanism used by the application to generate the message hash; if the signature mechanism includes hashing, then this value must match the hash algorithm indicated by the signature mechanism
mgf: PkcsMgfType
mask generation function to use on the encoded block
s_len: Ulong
length, in bytes, of the salt value used in the PSS encoding; typical values are the length of the message hash and zero
Trait Implementations
impl Clone for PkcsPssParams
[src]
fn clone(&self) -> PkcsPssParams
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PkcsPssParams
[src]
impl Debug for PkcsPssParams
[src]
impl From<PkcsPssParams> for Mechanism
[src]
fn from(pkcs_pss_params: PkcsPssParams) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for PkcsPssParams
impl Send for PkcsPssParams
impl Sync for PkcsPssParams
impl Unpin for PkcsPssParams
impl UnwindSafe for PkcsPssParams
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,