[][src]Enum keychain_services::keychain::key::KeyAlgorithm

pub enum KeyAlgorithm {
    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,
}

Cryptographic algorithms for use with keys stored in the keychain.

Wrapper for SecKeyAlgorithm. See: https://developer.apple.com/documentation/security/seckeyalgorithm

Variants

Elliptic Curve Encryption Standard X963

Elliptic Curve Encryption Standard X963

Elliptic Curve Encryption Standard X963

Elliptic Curve Encryption Standard X963

Elliptic Curve Encryption Standard X963

Elliptic Curve Encryption Standard Variable IVX963

Elliptic Curve Encryption Standard Variable IVX963

Elliptic Curve Encryption Standard Variable IVX963

Elliptic Curve Encryption Standard Variable IVX963

Elliptic Curve Encryption Cofactor Variable IVX963

Elliptic Curve Encryption Cofactor Variable IVX963

Elliptic Curve Encryption Cofactor Variable IVX963

Elliptic Curve Encryption Cofactor Variable IVX963

Elliptic Curve Encryption Cofactor X963

Elliptic Curve Encryption Cofactor X963

Elliptic Curve Encryption Cofactor X963

Elliptic Curve Encryption Cofactor X963

Elliptic Curve Encryption Cofactor X963

Elliptic Curve Signature RFC4754

Elliptic Curve Signature Digest X962

Elliptic Curve Signature Digest X962

Elliptic Curve Signature Digest X962

Elliptic Curve Signature Digest X962

Elliptic Curve Signature Digest X962

Elliptic Curve Signature Digest X962

Elliptic Curve Signature Message X962

Elliptic Curve Signature Digest X962

Elliptic Curve Signature Digest X962

Elliptic Curve Signature Digest X962

Elliptic Curve Signature Digest X962

Elliptic Curve Key Exchange

Elliptic Curve Key Exchange

Elliptic Curve Key Exchange

Elliptic Curve Key Exchange

Elliptic Curve Key Exchange

Elliptic Curve Key Exchange

Elliptic Curve Key Exchange

Elliptic Curve Key Exchange

Elliptic Curve Key Exchange

Elliptic Curve Key Exchange

Elliptic Curve Key Exchange

Elliptic Curve Key Exchange

RSA Encryption

RSA Encryption

RSA Encryption OAEP

RSA Encryption OAEP

RSA Encryption OAEP

RSA Encryption OAEP

RSA Encryption OAEP

RSA Encryption OAEP AES-GCM

RSA Encryption OAEP AES-GCM

RSA Encryption OAEP AES-GCM

RSA Encryption OAEP AES-GCM

RSA Encryption OAEP AES-GCM

RSA Signature Raw

RSA Signature Digest PKCS1v15

RSA Signature Digest PKCS1v15

RSA Signature Digest PKCS1v15

RSA Signature Digest PKCS1v15

RSA Signature Digest PKCS1v15

RSA Signature Digest PKCS1v15

RSA Signature Message PKCS1v15

RSA Signature Digest PKCS1v15

RSA Signature Digest PKCS1v15

RSA Signature Digest PKCS1v15

RSA Signature Digest PKCS1v15

RSA Signature Digest PSS

RSA Signature Digest PSS

RSA Signature Digest PSS

RSA Signature Digest PSS

RSA Signature Digest PSS

RSA Signature Message PSS

RSA Signature Message PSS

RSA Signature Message PSS

RSA Signature Message PSS

RSA Signature Message PSS

Methods

impl KeyAlgorithm
[src]

Get CFString containing the kSecKeyAlgorithm dictionary value for a particular cryptographic algorithm.

Trait Implementations

impl PartialEq<KeyAlgorithm> for KeyAlgorithm
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for KeyAlgorithm
[src]

impl Clone for KeyAlgorithm
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for KeyAlgorithm
[src]

impl Debug for KeyAlgorithm
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for KeyAlgorithm

impl Sync for KeyAlgorithm

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more