Function client_secure_handshake_init

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

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

§Returns

A Message::SecureHandshakeInit containing the client’s public key, timestamp, and nonce.

§Errors

Returns ProtocolError::HandshakeError if client keys can’t be locked Returns timestamp errors if system time is invalid