client_secure_handshake_init

Function client_secure_handshake_init 

Source
pub fn client_secure_handshake_init() -> Result<(ClientHandshakeState, Message)>
Expand description

Initiates secure handshake from the client side. Generates a new key pair and nonce for the client.

§Returns

A tuple of (new ClientHandshakeState, Message::SecureHandshakeInit)

§Errors

Returns timestamp errors if system time is invalid