pub struct SecKeyAlgorithm(/* private fields */);Expand description
String-backed SecKeyAlgorithm wrapper used by the LocalAuthentication key APIs.
Implementations§
Source§impl SecKeyAlgorithm
impl SecKeyAlgorithm
Sourcepub fn from_raw_name(name: impl Into<String>) -> Self
pub fn from_raw_name(name: impl Into<String>) -> Self
Create an algorithm from the raw SecKeyAlgorithm name.
Sourcepub fn ecdsa_signature_message_x962_sha256() -> Self
pub fn ecdsa_signature_message_x962_sha256() -> Self
SecKeyAlgorithm.ecdsaSignatureMessageX962SHA256.
Sourcepub fn ecdsa_signature_digest_x962_sha256() -> Self
pub fn ecdsa_signature_digest_x962_sha256() -> Self
SecKeyAlgorithm.ecdsaSignatureDigestX962SHA256.
Sourcepub fn ecies_encryption_standard_variable_iv_x963_sha256_aes_gcm() -> Self
pub fn ecies_encryption_standard_variable_iv_x963_sha256_aes_gcm() -> Self
SecKeyAlgorithm.eciesEncryptionStandardVariableIVX963SHA256AESGCM.
Sourcepub fn ecies_encryption_cofactor_variable_iv_x963_sha256_aes_gcm() -> Self
pub fn ecies_encryption_cofactor_variable_iv_x963_sha256_aes_gcm() -> Self
SecKeyAlgorithm.eciesEncryptionCofactorVariableIVX963SHA256AESGCM.
Sourcepub fn ecdh_key_exchange_cofactor_x963_sha256() -> Self
pub fn ecdh_key_exchange_cofactor_x963_sha256() -> Self
SecKeyAlgorithm.ecdhKeyExchangeCofactorX963SHA256.
Trait Implementations§
Source§impl Clone for SecKeyAlgorithm
impl Clone for SecKeyAlgorithm
Source§fn clone(&self) -> SecKeyAlgorithm
fn clone(&self) -> SecKeyAlgorithm
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SecKeyAlgorithm
impl Debug for SecKeyAlgorithm
impl Eq for SecKeyAlgorithm
Source§impl From<&str> for SecKeyAlgorithm
impl From<&str> for SecKeyAlgorithm
Source§impl From<String> for SecKeyAlgorithm
impl From<String> for SecKeyAlgorithm
Source§impl Hash for SecKeyAlgorithm
impl Hash for SecKeyAlgorithm
Source§impl PartialEq for SecKeyAlgorithm
impl PartialEq for SecKeyAlgorithm
Source§fn eq(&self, other: &SecKeyAlgorithm) -> bool
fn eq(&self, other: &SecKeyAlgorithm) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SecKeyAlgorithm
Auto Trait Implementations§
impl Freeze for SecKeyAlgorithm
impl RefUnwindSafe for SecKeyAlgorithm
impl Send for SecKeyAlgorithm
impl Sync for SecKeyAlgorithm
impl Unpin for SecKeyAlgorithm
impl UnsafeUnpin for SecKeyAlgorithm
impl UnwindSafe for SecKeyAlgorithm
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