Struct cryptoki::types::mechanism::rsa::PkcsPssParams[][src]

#[repr(C)]pub struct PkcsPssParams {
    pub hash_alg: MechanismType,
    pub mgf: PkcsMgfType,
    pub s_len: Ulong,
}

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]

impl Copy for PkcsPssParams[src]

impl Debug for PkcsPssParams[src]

impl From<PkcsPssParams> for Mechanism[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.