Table of Contents

Struct HandshakeService.ServerKeyAgreementResult

Namespace
FishMMO.Auth.Implementation
Assembly
FishMMO-AuthShared.dll

Result of a server-side X25519 key agreement operation.

public struct HandshakeService.ServerKeyAgreementResult
Inherited Members

Fields

AgreedVersion

Negotiated protocol version.

public ushort AgreedVersion

Field Value

ushort

ExpectedClientKeyConfirmation

Expected client key confirmation MAC — verify against the client's response. HMAC-SHA256(ClientToServerKey, "fishmmo finished c" || transcriptHash).

public byte[] ExpectedClientKeyConfirmation

Field Value

byte[]

ServerKeyConfirmation

Server key confirmation MAC — send to client for verification. HMAC-SHA256(ServerToClientKey, "fishmmo finished s" || transcriptHash).

public byte[] ServerKeyConfirmation

Field Value

byte[]

ServerPublicKey

Server's ephemeral public key to send to the client (32 bytes).

public byte[] ServerPublicKey

Field Value

byte[]

SessionKeys

Derived directional session keys (client→server and server→client).

public CryptoHelper.SessionKeys SessionKeys

Field Value

CryptoHelper.SessionKeys

Success

Whether the key agreement succeeded.

public bool Success

Field Value

bool