pub enum SignatureAlgorithm<'a> {
RSA,
RSASSA_PSS(Box<RsaSsaPssParams<'a>>),
RSAAES_OAEP(Box<RsaAesOaepParams<'a>>),
DSA,
ECDSA,
ED25519,
}
Variants
RSA
RSASSA_PSS(Box<RsaSsaPssParams<'a>>)
RSAAES_OAEP(Box<RsaAesOaepParams<'a>>)
DSA
ECDSA
ED25519
Trait Implementations
sourceimpl<'a> Debug for SignatureAlgorithm<'a>
impl<'a> Debug for SignatureAlgorithm<'a>
sourceimpl<'a> PartialEq<SignatureAlgorithm<'a>> for SignatureAlgorithm<'a>
impl<'a> PartialEq<SignatureAlgorithm<'a>> for SignatureAlgorithm<'a>
sourcefn eq(&self, other: &SignatureAlgorithm<'a>) -> bool
fn eq(&self, other: &SignatureAlgorithm<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SignatureAlgorithm<'a>) -> bool
fn ne(&self, other: &SignatureAlgorithm<'a>) -> bool
This method tests for !=
.
sourceimpl<'a, 'b> TryFrom<&'b AlgorithmIdentifier<'a>> for SignatureAlgorithm<'a>
impl<'a, 'b> TryFrom<&'b AlgorithmIdentifier<'a>> for SignatureAlgorithm<'a>
impl<'a> StructuralPartialEq for SignatureAlgorithm<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SignatureAlgorithm<'a>
impl<'a> Send for SignatureAlgorithm<'a>
impl<'a> Sync for SignatureAlgorithm<'a>
impl<'a> Unpin for SignatureAlgorithm<'a>
impl<'a> UnwindSafe for SignatureAlgorithm<'a>
Blanket Implementations
sourceimpl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for T where
T: 'a,
sourceimpl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for T where
T: 'a,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more