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 duplicate 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
Available on crate feature interface only.
impl From<RawKeyAgreement> for psa_algorithm_t
Available on crate feature
interface only.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§impl Serialize for RawKeyAgreement
impl Serialize for RawKeyAgreement
Source§impl TryFrom<u32> for RawKeyAgreement
Available on crate feature interface only.
impl TryFrom<u32> for RawKeyAgreement
Available on crate feature
interface only.Source§impl Zeroize for RawKeyAgreement
impl Zeroize for RawKeyAgreement
impl Copy for RawKeyAgreement
impl Eq for RawKeyAgreement
impl StructuralPartialEq for RawKeyAgreement
Auto Trait Implementations§
impl Freeze for RawKeyAgreement
impl RefUnwindSafe for RawKeyAgreement
impl Send for RawKeyAgreement
impl Sync for RawKeyAgreement
impl Unpin for RawKeyAgreement
impl UnsafeUnpin 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