NoiseClientHandshake

class NoiseClientHandshake(relayStaticPublicKey: ByteArray, requestChunking: Boolean = true) : AutoCloseable

Single-use exact deployed Noise NK handshake.

Constructors

Link copied to clipboard
constructor(relayStaticPublicKey: ByteArray, requestChunking: Boolean = true)

Properties

Link copied to clipboard

First Noise handshake message to send as one binary WebSocket frame.

Functions

Link copied to clipboard
open override fun close(): ERROR CLASS: Unresolved name: close

Release an incomplete handshake and zeroize its ephemeral state.

Link copied to clipboard

Authenticate the relay response and enter transport mode.