pub struct PkcsMgfType { /* private fields */ }
Expand description
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§
Source§impl PkcsMgfType
impl PkcsMgfType
Sourcepub const MGF1_SHA1: PkcsMgfType
pub const MGF1_SHA1: PkcsMgfType
MGF1 SHA-1
Sourcepub const MGF1_SHA224: PkcsMgfType
pub const MGF1_SHA224: PkcsMgfType
MGF1 SHA-224
Sourcepub const MGF1_SHA256: PkcsMgfType
pub const MGF1_SHA256: PkcsMgfType
MGF1 SHA-256
Sourcepub const MGF1_SHA384: PkcsMgfType
pub const MGF1_SHA384: PkcsMgfType
MGF1 SHA-384
Sourcepub const MGF1_SHA512: PkcsMgfType
pub const MGF1_SHA512: PkcsMgfType
MGF1 SHA-512
Trait Implementations§
Source§impl Clone for PkcsMgfType
impl Clone for PkcsMgfType
Source§fn clone(&self) -> PkcsMgfType
fn clone(&self) -> PkcsMgfType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PkcsMgfType
impl Debug for PkcsMgfType
Source§impl Deref for PkcsMgfType
impl Deref for PkcsMgfType
Source§impl From<PkcsMgfType> for CK_RSA_PKCS_MGF_TYPE
impl From<PkcsMgfType> for CK_RSA_PKCS_MGF_TYPE
Source§fn from(mgf_type: PkcsMgfType) -> Self
fn from(mgf_type: PkcsMgfType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PkcsMgfType
impl PartialEq for PkcsMgfType
Source§impl TryFrom<u32> for PkcsMgfType
impl TryFrom<u32> for PkcsMgfType
impl Copy for PkcsMgfType
impl Eq for PkcsMgfType
impl StructuralPartialEq for PkcsMgfType
Auto Trait Implementations§
impl Freeze for PkcsMgfType
impl RefUnwindSafe for PkcsMgfType
impl Send for PkcsMgfType
impl Sync for PkcsMgfType
impl Unpin for PkcsMgfType
impl UnwindSafe for PkcsMgfType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more