[][src]Enum parsec_interface::operations::psa_algorithm::KeyAgreement

pub enum KeyAgreement {
    Raw(RawKeyAgreement),
    WithKeyDerivation {
        ka_alg: RawKeyAgreement,
        kdf_alg: KeyDerivation,
    },
}

Enumeration of key agreement algorithms supported.

Variants

Key agreement only algorithm.

WithKeyDerivation

Build a combined algorithm that chains a key agreement with a key derivation.

Fields of WithKeyDerivation

ka_alg: RawKeyAgreement

A key agreement algorithm.

kdf_alg: KeyDerivation

A key derivation algorithm.

Trait Implementations

impl Clone for KeyAgreement[src]

impl Copy for KeyAgreement[src]

impl Debug for KeyAgreement[src]

impl<'de> Deserialize<'de> for KeyAgreement[src]

impl From<KeyAgreement> for Algorithm[src]

impl From<RawKeyAgreement> for KeyAgreement[src]

impl PartialEq<KeyAgreement> for KeyAgreement[src]

impl Serialize for KeyAgreement[src]

impl StructuralPartialEq for KeyAgreement[src]

impl Zeroize for KeyAgreement[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.