Struct ockam_key_exchange_x3dh::Responder [−][src]
pub struct Responder { /* fields omitted */ }
The responder of X3DH creates a prekey bundle that can be used to establish a shared secret key with another party that can use
Trait Implementations
impl KeyExchanger for Responder
[src]
impl KeyExchanger for Responder
[src]fn process(&mut self, data: &[u8]) -> Result<Vec<u8>>
[src]
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]
fn is_complete(&self) -> bool
[src]Returns true if the key exchange process is complete.
fn finalize(self) -> Result<CompletedKeyExchange>
[src]
fn finalize(self) -> Result<CompletedKeyExchange>
[src]Return the data and keys needed for channels. Key exchange must be completed prior to calling this function.
fn finalize_box(self: Box<Self>) -> Result<CompletedKeyExchange>
[src]
fn finalize_box(self: Box<Self>) -> Result<CompletedKeyExchange>
[src]Should call finalize. Added to use KeyExchanger as trait object.
Auto Trait Implementations
impl RefUnwindSafe for Responder
impl Send for Responder
impl Sync for Responder
impl Unpin for Responder
impl UnwindSafe for Responder
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,