#[non_exhaustive]pub enum DigitalSignatureAlgorithm {
Show 16 variants
MD2WithRSAEncryption_PKCS1_v1_5,
MD5WithRSAEncryption_PKCS1_v1_5,
SHA1WithRSAEncryption_PKCS1_v1_5,
SHA224WithRSAEncryption_PKCS1_v1_5,
SHA256WithRSAEncryption_PKCS1_v1_5,
SHA384WithRSAEncryption_PKCS1_v1_5,
SHA512WithRSAEncryption_PKCS1_v1_5,
RSASSA_PSS_PKCS1_v1_5,
DSAWithSHA1,
DSAWithSHA224,
DSAWithSHA256,
ECDSAWithSHA1,
ECDSAWithSHA224,
ECDSAWithSHA256,
ECDSAWithSHA384,
ECDSAWithSHA512,
}
Expand description
See KMIP 1.2 section 9.1.3.2.7 Digital Signature Algorithm Enumeration.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
MD2WithRSAEncryption_PKCS1_v1_5
MD5WithRSAEncryption_PKCS1_v1_5
SHA1WithRSAEncryption_PKCS1_v1_5
SHA224WithRSAEncryption_PKCS1_v1_5
SHA256WithRSAEncryption_PKCS1_v1_5
SHA384WithRSAEncryption_PKCS1_v1_5
SHA512WithRSAEncryption_PKCS1_v1_5
RSASSA_PSS_PKCS1_v1_5
DSAWithSHA1
DSAWithSHA224
DSAWithSHA256
ECDSAWithSHA1
ECDSAWithSHA224
ECDSAWithSHA256
ECDSAWithSHA384
ECDSAWithSHA512
Trait Implementations§
Source§impl Clone for DigitalSignatureAlgorithm
impl Clone for DigitalSignatureAlgorithm
Source§fn clone(&self) -> DigitalSignatureAlgorithm
fn clone(&self) -> DigitalSignatureAlgorithm
Returns a copy 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 DigitalSignatureAlgorithm
impl Debug for DigitalSignatureAlgorithm
Source§impl<'de> Deserialize<'de> for DigitalSignatureAlgorithm
impl<'de> Deserialize<'de> for DigitalSignatureAlgorithm
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DigitalSignatureAlgorithm
impl Display for DigitalSignatureAlgorithm
impl Copy for DigitalSignatureAlgorithm
impl Eq for DigitalSignatureAlgorithm
impl StructuralPartialEq for DigitalSignatureAlgorithm
Auto Trait Implementations§
impl Freeze for DigitalSignatureAlgorithm
impl RefUnwindSafe for DigitalSignatureAlgorithm
impl Send for DigitalSignatureAlgorithm
impl Sync for DigitalSignatureAlgorithm
impl Unpin for DigitalSignatureAlgorithm
impl UnwindSafe for DigitalSignatureAlgorithm
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