Struct cryptoki::types::mechanism::MechanismType [−][src]
Type of a mechanism
Implementations
impl MechanismType
[src]
pub const RSA_PKCS_KEY_PAIR_GEN: MechanismType
[src]
PKCS #1 RSA key pair generation mechanism
pub const RSA_PKCS: MechanismType
[src]
Multi-purpose mechanism based on the RSA public-key cryptosystem and the block formats initially defined in PKCS #1 v1.5
pub const RSA_PKCS_PSS: MechanismType
[src]
Mechanism based on the RSA public-key cryptosystem and the PSS block format defined in PKCS #1
pub const RSA_PKCS_OAEP: MechanismType
[src]
Multi-purpose mechanism based on the RSA public-key cryptosystem and the OAEP block format defined in PKCS #1
pub const SHA1: MechanismType
[src]
SHA-1 mechanism
pub const SHA256: MechanismType
[src]
SHA-256 mechanism
pub const SHA384: MechanismType
[src]
SHA-384 mechanism
pub const SHA512: MechanismType
[src]
SHA-512 mechanism
Trait Implementations
impl Clone for MechanismType
[src]
fn clone(&self) -> MechanismType
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for MechanismType
[src]
impl Debug for MechanismType
[src]
impl Deref for MechanismType
[src]
type Target = CK_MECHANISM_TYPE
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl Eq for MechanismType
[src]
impl From<MechanismType> for CK_MECHANISM_TYPE
[src]
fn from(mechanism_type: MechanismType) -> Self
[src]
impl PartialEq<MechanismType> for MechanismType
[src]
fn eq(&self, other: &MechanismType) -> bool
[src]
fn ne(&self, other: &MechanismType) -> bool
[src]
impl StructuralEq for MechanismType
[src]
impl StructuralPartialEq for MechanismType
[src]
impl TryFrom<u64> for MechanismType
[src]
Auto Trait Implementations
impl RefUnwindSafe for MechanismType
impl Send for MechanismType
impl Sync for MechanismType
impl Unpin for MechanismType
impl UnwindSafe for MechanismType
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>,