Skip to main content

run_key_exchange

Function run_key_exchange 

Source
pub async fn run_key_exchange<T: KexConfig>(
    config: T,
    sock_read: OwnedReadHalf,
    sock_write: OwnedWriteHalf,
    passphrase_fn: impl Fn() -> Result<Option<String>>,
) -> Result<(Kex, Arc<UdpSocket>, Option<ServerKex>)>
Expand description

Run the client side of the key exchange

ยงErrors