Trait ockam_key_exchange_core::NewKeyExchanger[][src]

pub trait NewKeyExchanger {
    type Initiator: KeyExchanger + Send + 'static;
    type Responder: KeyExchanger + Send + 'static;
    fn initiator(&self) -> Result<Self::Initiator>;
fn responder(&self) -> Result<Self::Responder>; }
Expand description

A creator of both initiator and responder peers of a key exchange.

Associated Types

Initiator

Responder

Required methods

Create a new Key Exchanger with the initiator role

Create a new Key Exchanger with the responder role

Implementors