Struct cryptoki::types::mechanism::rsa::PkcsMgfType [−][src]
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]
fn clone(&self) -> PkcsMgfType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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.
fn deref(&self) -> &Self::Target
[src]
impl Eq for PkcsMgfType
[src]
impl From<PkcsMgfType> for CK_RSA_PKCS_MGF_TYPE
[src]
fn from(mgf_type: PkcsMgfType) -> Self
[src]
impl PartialEq<PkcsMgfType> for PkcsMgfType
[src]
fn eq(&self, other: &PkcsMgfType) -> bool
[src]
fn ne(&self, other: &PkcsMgfType) -> bool
[src]
impl StructuralEq for PkcsMgfType
[src]
impl StructuralPartialEq for PkcsMgfType
[src]
impl TryFrom<u64> for PkcsMgfType
[src]
Auto Trait Implementations
impl RefUnwindSafe for PkcsMgfType
impl Send for PkcsMgfType
impl Sync for PkcsMgfType
impl Unpin for PkcsMgfType
impl UnwindSafe for PkcsMgfType
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>,