Trait ddoresolver_rs::Ecdh[][src]

pub trait Ecdh {
    pub fn key_exchange(&self, their_public: &Self) -> Vec<u8, Global>;
}

Used for Elliptic-curve Diffie–Hellman key exchange operations

Required methods

pub fn key_exchange(&self, their_public: &Self) -> Vec<u8, Global>[src]

Perform key exchange operation

Loading content...

Implementors

impl Ecdh for KeyPair[src]

impl Ecdh for AsymmetricKey<VerifyKey<NistP256>, SigningKey<NistP256>>[src]

impl Ecdh for AsymmetricKey<PublicKey, StaticSecret>[src]

impl Ecdh for AsymmetricKey<CyclicGroup, SecretKey>[src]

impl Ecdh for AsymmetricKey<PublicKey, SecretKey>[src]

impl Ecdh for AsymmetricKey<PublicKey, SecretKey>[src]

Loading content...