#[non_exhaustive]pub enum Algorithm {
Show 71 variants
ECIESEncryptionStandardX963SHA1AESGCM,
ECIESEncryptionStandardX963SHA224AESGCM,
ECIESEncryptionStandardX963SHA256AESGCM,
ECIESEncryptionStandardX963SHA384AESGCM,
ECIESEncryptionStandardX963SHA512AESGCM,
ECIESEncryptionStandardVariableIVX963SHA224AESGCM,
ECIESEncryptionStandardVariableIVX963SHA256AESGCM,
ECIESEncryptionStandardVariableIVX963SHA384AESGCM,
ECIESEncryptionStandardVariableIVX963SHA512AESGCM,
ECIESEncryptionCofactorVariableIVX963SHA224AESGCM,
ECIESEncryptionCofactorVariableIVX963SHA256AESGCM,
ECIESEncryptionCofactorVariableIVX963SHA384AESGCM,
ECIESEncryptionCofactorVariableIVX963SHA512AESGCM,
ECDSASignatureRFC4754,
ECDSASignatureDigestX962,
ECDSASignatureDigestX962SHA1,
ECDSASignatureDigestX962SHA224,
ECDSASignatureDigestX962SHA256,
ECDSASignatureDigestX962SHA384,
ECDSASignatureDigestX962SHA512,
ECDSASignatureMessageX962SHA1,
ECDSASignatureMessageX962SHA224,
ECDSASignatureMessageX962SHA256,
ECDSASignatureMessageX962SHA384,
ECDSASignatureMessageX962SHA512,
ECDHKeyExchangeCofactor,
ECDHKeyExchangeStandard,
ECDHKeyExchangeCofactorX963SHA1,
ECDHKeyExchangeStandardX963SHA1,
ECDHKeyExchangeCofactorX963SHA224,
ECDHKeyExchangeCofactorX963SHA256,
ECDHKeyExchangeCofactorX963SHA384,
ECDHKeyExchangeCofactorX963SHA512,
ECDHKeyExchangeStandardX963SHA224,
ECDHKeyExchangeStandardX963SHA256,
ECDHKeyExchangeStandardX963SHA384,
ECDHKeyExchangeStandardX963SHA512,
RSAEncryptionRaw,
RSAEncryptionPKCS1,
RSAEncryptionOAEPSHA1,
RSAEncryptionOAEPSHA224,
RSAEncryptionOAEPSHA256,
RSAEncryptionOAEPSHA384,
RSAEncryptionOAEPSHA512,
RSAEncryptionOAEPSHA1AESGCM,
RSAEncryptionOAEPSHA224AESGCM,
RSAEncryptionOAEPSHA256AESGCM,
RSAEncryptionOAEPSHA384AESGCM,
RSAEncryptionOAEPSHA512AESGCM,
RSASignatureRaw,
RSASignatureDigestPKCS1v15Raw,
RSASignatureDigestPKCS1v15SHA1,
RSASignatureDigestPKCS1v15SHA224,
RSASignatureDigestPKCS1v15SHA256,
RSASignatureDigestPKCS1v15SHA384,
RSASignatureDigestPKCS1v15SHA512,
RSASignatureMessagePKCS1v15SHA1,
RSASignatureMessagePKCS1v15SHA224,
RSASignatureMessagePKCS1v15SHA256,
RSASignatureMessagePKCS1v15SHA384,
RSASignatureMessagePKCS1v15SHA512,
RSASignatureDigestPSSSHA1,
RSASignatureDigestPSSSHA224,
RSASignatureDigestPSSSHA256,
RSASignatureDigestPSSSHA384,
RSASignatureDigestPSSSHA512,
RSASignatureMessagePSSSHA1,
RSASignatureMessagePSSSHA224,
RSASignatureMessagePSSSHA256,
RSASignatureMessagePSSSHA384,
RSASignatureMessagePSSSHA512,
}
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.
ECIESEncryptionStandardX963SHA1AESGCM
ECIESEncryptionStandardX963SHA224AESGCM
ECIESEncryptionStandardX963SHA256AESGCM
ECIESEncryptionStandardX963SHA384AESGCM
ECIESEncryptionStandardX963SHA512AESGCM
ECIESEncryptionStandardVariableIVX963SHA224AESGCM
ECIESEncryptionStandardVariableIVX963SHA256AESGCM
ECIESEncryptionStandardVariableIVX963SHA384AESGCM
ECIESEncryptionStandardVariableIVX963SHA512AESGCM
ECIESEncryptionCofactorVariableIVX963SHA224AESGCM
ECIESEncryptionCofactorVariableIVX963SHA256AESGCM
ECIESEncryptionCofactorVariableIVX963SHA384AESGCM
ECIESEncryptionCofactorVariableIVX963SHA512AESGCM
ECDSASignatureRFC4754
ECDSASignatureDigestX962
ECDSASignatureDigestX962SHA1
ECDSASignatureDigestX962SHA224
ECDSASignatureDigestX962SHA256
ECDSASignatureDigestX962SHA384
ECDSASignatureDigestX962SHA512
ECDSASignatureMessageX962SHA1
ECDSASignatureMessageX962SHA224
ECDSASignatureMessageX962SHA256
ECDSASignatureMessageX962SHA384
ECDSASignatureMessageX962SHA512
ECDHKeyExchangeCofactor
ECDHKeyExchangeStandard
ECDHKeyExchangeCofactorX963SHA1
ECDHKeyExchangeStandardX963SHA1
ECDHKeyExchangeCofactorX963SHA224
ECDHKeyExchangeCofactorX963SHA256
ECDHKeyExchangeCofactorX963SHA384
ECDHKeyExchangeCofactorX963SHA512
ECDHKeyExchangeStandardX963SHA224
ECDHKeyExchangeStandardX963SHA256
ECDHKeyExchangeStandardX963SHA384
ECDHKeyExchangeStandardX963SHA512
RSAEncryptionRaw
RSAEncryptionPKCS1
RSAEncryptionOAEPSHA1
RSAEncryptionOAEPSHA224
RSAEncryptionOAEPSHA256
RSAEncryptionOAEPSHA384
RSAEncryptionOAEPSHA512
RSAEncryptionOAEPSHA1AESGCM
RSAEncryptionOAEPSHA224AESGCM
RSAEncryptionOAEPSHA256AESGCM
RSAEncryptionOAEPSHA384AESGCM
RSAEncryptionOAEPSHA512AESGCM
RSASignatureRaw
RSASignatureDigestPKCS1v15Raw
RSASignatureDigestPKCS1v15SHA1
RSASignatureDigestPKCS1v15SHA224
RSASignatureDigestPKCS1v15SHA256
RSASignatureDigestPKCS1v15SHA384
RSASignatureDigestPKCS1v15SHA512
RSASignatureMessagePKCS1v15SHA1
RSASignatureMessagePKCS1v15SHA224
RSASignatureMessagePKCS1v15SHA256
RSASignatureMessagePKCS1v15SHA384
RSASignatureMessagePKCS1v15SHA512
RSASignatureDigestPSSSHA1
RSASignatureDigestPSSSHA224
RSASignatureDigestPSSSHA256
RSASignatureDigestPSSSHA384
RSASignatureDigestPSSSHA512
RSASignatureMessagePSSSHA1
RSASignatureMessagePSSSHA224
RSASignatureMessagePSSSHA256
RSASignatureMessagePSSSHA384
RSASignatureMessagePSSSHA512
Trait Implementations§
Source§impl From<Algorithm> for SecKeyAlgorithm
impl From<Algorithm> for SecKeyAlgorithm
impl Copy for Algorithm
Auto Trait Implementations§
impl Freeze for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)