[−][src]Enum parsec_interface::operations::psa_algorithm::AsymmetricSignature
Enumeration of asymmetric signing algorithms supported.
Variants
RSA PKCS#1 v1.5 signature with hashing.
Fields of RsaPkcs1v15Sign
hash_alg: Hash
A hash algorithm to use.
Raw PKCS#1 v1.5 signature.
RSA PSS signature with hashing.
Fields of RsaPss
hash_alg: Hash
A hash algorithm to use.
ECDSA signature with hashing.
Fields of Ecdsa
hash_alg: Hash
A hash algorithm to use.
ECDSA signature without hashing.
Deterministic ECDSA signature with hashing.
Fields of DeterministicEcdsa
hash_alg: Hash
A hash algorithm to use.
Implementations
impl AsymmetricSignature
[src]
pub fn is_alg_permitted(self, alg: AsymmetricSignature) -> bool
[src]
Check if the alg given for a cryptographic operation is permitted to be used with this algorithm as a policy
pub fn is_rsa_alg(self) -> bool
[src]
Check if this is a RSA algorithm
pub fn is_ecc_alg(self) -> bool
[src]
Check if this is an ECC algorithm
Trait Implementations
impl Clone for AsymmetricSignature
[src]
fn clone(&self) -> AsymmetricSignature
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for AsymmetricSignature
[src]
impl Debug for AsymmetricSignature
[src]
impl<'de> Deserialize<'de> for AsymmetricSignature
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<AsymmetricSignature> for Algorithm
[src]
fn from(alg: AsymmetricSignature) -> Self
[src]
impl PartialEq<AsymmetricSignature> for AsymmetricSignature
[src]
fn eq(&self, other: &AsymmetricSignature) -> bool
[src]
fn ne(&self, other: &AsymmetricSignature) -> bool
[src]
impl Serialize for AsymmetricSignature
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for AsymmetricSignature
[src]
Auto Trait Implementations
impl RefUnwindSafe for AsymmetricSignature
impl Send for AsymmetricSignature
impl Sync for AsymmetricSignature
impl Unpin for AsymmetricSignature
impl UnwindSafe for AsymmetricSignature
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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
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.
fn to_owned(&self) -> T
[src]
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.
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>,