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

#[repr(transparent)]pub struct PkcsOaepSourceType { /* fields omitted */ }

Source of the encoding parameter when formatting a message block for the PKCS #1 OAEP encryption scheme

Implementations

impl PkcsOaepSourceType[src]

pub const DATA_SPECIFIED: PkcsOaepSourceType[src]

Array of CK_BYTE containing the value of the encoding parameter. If the parameter is empty, pSourceData must be NULL and ulSourceDataLen must be zero.

Trait Implementations

impl Clone for PkcsOaepSourceType[src]

impl Copy for PkcsOaepSourceType[src]

impl Debug for PkcsOaepSourceType[src]

impl Deref for PkcsOaepSourceType[src]

type Target = CK_RSA_PKCS_OAEP_SOURCE_TYPE

The resulting type after dereferencing.

impl Eq for PkcsOaepSourceType[src]

impl From<PkcsOaepSourceType> for CK_RSA_PKCS_OAEP_SOURCE_TYPE[src]

impl PartialEq<PkcsOaepSourceType> for PkcsOaepSourceType[src]

impl StructuralEq for PkcsOaepSourceType[src]

impl StructuralPartialEq for PkcsOaepSourceType[src]

impl TryFrom<u64> for PkcsOaepSourceType[src]

type Error = Error

The type returned in the event of a conversion error.

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.