Enum psa_crypto::types::algorithm::KeyAgreement [−][src]
pub enum KeyAgreement {
Raw(RawKeyAgreement),
WithKeyDerivation {
ka_alg: RawKeyAgreement,
kdf_alg: KeyDerivation,
},
}
Expand description
Enumeration of key agreement algorithms supported.
Variants
Raw(RawKeyAgreement)
Tuple Fields
Key agreement only algorithm.
WithKeyDerivation
Fields
ka_alg: RawKeyAgreement
A key agreement algorithm.
kdf_alg: KeyDerivation
A key derivation algorithm.
Build a combined algorithm that chains a key agreement with a key derivation.
Trait Implementations
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
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for KeyAgreement
impl Send for KeyAgreement
impl Sync for KeyAgreement
impl Unpin for KeyAgreement
impl UnwindSafe for KeyAgreement
Blanket Implementations
Mutably borrows from an owned value. Read more