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

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

Message Generation Function (MGF) applied to a message block when formatting a message block for the PKCS #1 OAEP encryption scheme or the PKCS #1 PSS signature scheme.

Implementations

impl PkcsMgfType[src]

pub const MGF1_SHA1: PkcsMgfType[src]

MGF1 SHA-1

pub const MGF1_SHA224: PkcsMgfType[src]

MGF1 SHA-224

pub const MGF1_SHA256: PkcsMgfType[src]

MGF1 SHA-256

pub const MGF1_SHA384: PkcsMgfType[src]

MGF1 SHA-384

pub const MGF1_SHA512: PkcsMgfType[src]

MGF1 SHA-512

Trait Implementations

impl Clone for PkcsMgfType[src]

impl Copy for PkcsMgfType[src]

impl Debug for PkcsMgfType[src]

impl Deref for PkcsMgfType[src]

type Target = CK_RSA_PKCS_MGF_TYPE

The resulting type after dereferencing.

impl Eq for PkcsMgfType[src]

impl From<PkcsMgfType> for CK_RSA_PKCS_MGF_TYPE[src]

impl PartialEq<PkcsMgfType> for PkcsMgfType[src]

impl StructuralEq for PkcsMgfType[src]

impl StructuralPartialEq for PkcsMgfType[src]

impl TryFrom<u64> for PkcsMgfType[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.