Trait ockam_key_exchange_core::KeyExchanger [−][src]
A trait implemented by both Initiator and Responder peers.
Required methods
fn process(&mut self, data: &[u8]) -> Result<Vec<u8>>
[src]
Run the current phase of the key exchange process.
fn is_complete(&self) -> bool
[src]
Returns true if the key exchange process is complete.
fn finalize(self) -> Result<CompletedKeyExchange>
[src]
Return the data and keys needed for channels. Key exchange must be completed prior to calling this function.