pub enum PsaSignAlgorithm {
RsaPkcs1Sha256,
RsaPssSha256,
EcdsaP256Sha256,
}Expand description
Enumerates signing algorithms supported by PSA provider mappings.
Variants§
RsaPkcs1Sha256
RSA PKCS#1 v1.5 signing with SHA-256 digest.
RsaPssSha256
RSA PSS signing with SHA-256 digest.
EcdsaP256Sha256
ECDSA signing over P-256 with SHA-256 digest.
Trait Implementations§
Source§impl Clone for PsaSignAlgorithm
impl Clone for PsaSignAlgorithm
Source§fn clone(&self) -> PsaSignAlgorithm
fn clone(&self) -> PsaSignAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PsaSignAlgorithm
impl Debug for PsaSignAlgorithm
Source§impl PartialEq for PsaSignAlgorithm
impl PartialEq for PsaSignAlgorithm
Source§fn eq(&self, other: &PsaSignAlgorithm) -> bool
fn eq(&self, other: &PsaSignAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PsaSignAlgorithm
impl Eq for PsaSignAlgorithm
impl StructuralPartialEq for PsaSignAlgorithm
Auto Trait Implementations§
impl Freeze for PsaSignAlgorithm
impl RefUnwindSafe for PsaSignAlgorithm
impl Send for PsaSignAlgorithm
impl Sync for PsaSignAlgorithm
impl Unpin for PsaSignAlgorithm
impl UnsafeUnpin for PsaSignAlgorithm
impl UnwindSafe for PsaSignAlgorithm
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