Struct ServerHandshakeDto
DTO for server handshake response, containing the server's
X25519 public key for ECDH key agreement and the negotiated protocol version.
Mirrors ServerHandshake.
public struct ServerHandshakeDto
- Inherited Members
Fields
AgreedVersion
Negotiated protocol version agreed during handshake.
public ushort AgreedVersion
Field Value
Cookie
Stateless HMAC challenge cookie. Null when this is the final handshake response.
public byte[] Cookie
Field Value
- byte[]
PublicKey
Server's ephemeral X25519 public key (32 bytes). Null when this is a cookie challenge.
public byte[] PublicKey
Field Value
- byte[]