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

#[repr(C)]pub struct PkcsOaepParams {
    pub hash_alg: MechanismType,
    pub mgf: PkcsMgfType,
    pub source: PkcsOaepSourceType,
    pub source_data: *const c_void,
    pub source_data_len: Ulong,
}

Parameters of the RsaPkcsOaep mechanism

Fields

hash_alg: MechanismType

mechanism ID of the message digest algorithm used to calculate the digest of the encoding parameter

mgf: PkcsMgfType

mask generation function to use on the encoded block

source: PkcsOaepSourceType

source of the encoding parameter

source_data: *const c_void

data used as the input for the encoding parameter source

source_data_len: Ulong

length of the encoding parameter source input

Trait Implementations

impl Clone for PkcsOaepParams[src]

impl Copy for PkcsOaepParams[src]

impl Debug for PkcsOaepParams[src]

impl From<PkcsOaepParams> 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.