security_framework_sys::key

Enum Algorithm

Source
#[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 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 From<Algorithm> for SecKeyAlgorithm

Source§

fn from(m: Algorithm) -> Self

Converts to this type from the input type.
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§

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,

Source§

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>,

Source§

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>,

Source§

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.