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§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
impl StructuralPartialEq for SecKeyAlgorithm
Auto Trait Implementations§
impl Forget for SecKeyAlgorithm
impl Freeze for SecKeyAlgorithm
impl Move for SecKeyAlgorithm
impl RefUnwindSafe for SecKeyAlgorithm
impl Send for SecKeyAlgorithmwhere
RawVecInner: Send,
impl Sync for SecKeyAlgorithmwhere
RawVecInner: Sync,
impl Unpin for SecKeyAlgorithm
impl UnsafeUnpin for SecKeyAlgorithm
impl UnwindSafe for SecKeyAlgorithmwhere
RawVecInner: UnwindSafe,
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