Enum psa_crypto::types::algorithm::RawKeyAgreement
source · pub enum RawKeyAgreement {
Ffdh,
Ecdh,
}
Expand description
Key agreement algorithm enumeration.
Variants§
Ffdh
The finite-field Diffie-Hellman (DH) key agreement algorithm.
Ecdh
The elliptic curve Diffie-Hellman (ECDH) key agreement algorithm.
Trait Implementations§
source§impl Clone for RawKeyAgreement
impl Clone for RawKeyAgreement
source§fn clone(&self) -> RawKeyAgreement
fn clone(&self) -> RawKeyAgreement
Returns a copy of the value. Read more
1.0.0 · 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 RawKeyAgreement
impl Debug for RawKeyAgreement
source§impl<'de> Deserialize<'de> for RawKeyAgreement
impl<'de> Deserialize<'de> for RawKeyAgreement
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<RawKeyAgreement> for KeyAgreement
impl From<RawKeyAgreement> for KeyAgreement
source§fn from(raw_key_agreement: RawKeyAgreement) -> Self
fn from(raw_key_agreement: RawKeyAgreement) -> Self
Converts to this type from the input type.
source§impl From<RawKeyAgreement> for psa_algorithm_t
impl From<RawKeyAgreement> for psa_algorithm_t
source§fn from(raw_key_agreement: RawKeyAgreement) -> Self
fn from(raw_key_agreement: RawKeyAgreement) -> Self
Converts to this type from the input type.
source§impl PartialEq for RawKeyAgreement
impl PartialEq for RawKeyAgreement
source§fn eq(&self, other: &RawKeyAgreement) -> bool
fn eq(&self, other: &RawKeyAgreement) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RawKeyAgreement
impl Serialize for RawKeyAgreement
source§impl TryFrom<u32> for RawKeyAgreement
impl TryFrom<u32> for RawKeyAgreement
source§impl Zeroize for RawKeyAgreement
impl Zeroize for RawKeyAgreement
impl Copy for RawKeyAgreement
impl Eq for RawKeyAgreement
impl StructuralEq for RawKeyAgreement
impl StructuralPartialEq for RawKeyAgreement
Auto Trait Implementations§
impl RefUnwindSafe for RawKeyAgreement
impl Send for RawKeyAgreement
impl Sync for RawKeyAgreement
impl Unpin for RawKeyAgreement
impl UnwindSafe for RawKeyAgreement
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