Trait ockam_key_exchange_core::NewKeyExchanger[][src]

pub trait NewKeyExchanger<I: KeyExchanger = Self, R: KeyExchanger = Self> {
    fn initiator(&self) -> I;
fn responder(&self) -> R; }

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

Required methods

fn initiator(&self) -> I[src]

Create a new Key Exchanger with the initiator role

fn responder(&self) -> R[src]

Create a new Key Exchanger with the responder role

Loading content...

Implementors

Loading content...