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
type Initiator: KeyExchanger + Send + 'static
[src]
type Initiator: KeyExchanger + Send + 'static
[src]Initiator
type Responder: KeyExchanger + Send + 'static
[src]
type Responder: KeyExchanger + Send + 'static
[src]Responder