Enum security_framework::key::Algorithm

source ·
#[non_exhaustive]
pub enum Algorithm {
Show 76 variants ECIESEncryptionStandardX963SHA1AESGCM, ECIESEncryptionStandardX963SHA224AESGCM, ECIESEncryptionStandardX963SHA256AESGCM, ECIESEncryptionStandardX963SHA384AESGCM, ECIESEncryptionStandardX963SHA512AESGCM, ECIESEncryptionStandardVariableIVX963SHA224AESGCM, ECIESEncryptionStandardVariableIVX963SHA256AESGCM, ECIESEncryptionStandardVariableIVX963SHA384AESGCM, ECIESEncryptionStandardVariableIVX963SHA512AESGCM, ECIESEncryptionCofactorVariableIVX963SHA224AESGCM, ECIESEncryptionCofactorVariableIVX963SHA256AESGCM, ECIESEncryptionCofactorVariableIVX963SHA384AESGCM, ECIESEncryptionCofactorVariableIVX963SHA512AESGCM, ECIESEncryptionCofactorX963SHA1AESGCM, ECIESEncryptionCofactorX963SHA224AESGCM, ECIESEncryptionCofactorX963SHA256AESGCM, ECIESEncryptionCofactorX963SHA384AESGCM, ECIESEncryptionCofactorX963SHA512AESGCM, 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

§

ECIESEncryptionCofactorX963SHA1AESGCM

§

ECIESEncryptionCofactorX963SHA224AESGCM

§

ECIESEncryptionCofactorX963SHA256AESGCM

§

ECIESEncryptionCofactorX963SHA384AESGCM

§

ECIESEncryptionCofactorX963SHA512AESGCM

§

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 Clone for Algorithm

source§

fn clone(&self) -> Algorithm

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for Algorithm

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> CloneToUninit for T
where T: Copy,

source§

unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.