Table of Contents

Struct SrpProofRequest<TConnection>

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

Immutable request data for async SRP proof processing. Contains encrypted proof and pre-validated account data to avoid blocking the network thread. Generic over connection type to maintain engine independence.

public readonly struct SrpProofRequest<TConnection>

Type Parameters

TConnection

The transport's connection representation.

Inherited Members

Constructors

SrpProofRequest(TConnection, byte[], ConnectionEncryptionData, uint)

Creates a new SRP proof request with encrypted data for deferred processing.

public SrpProofRequest(TConnection connection, byte[] encryptedClientProof, ConnectionEncryptionData encryptionData, uint seq)

Parameters

connection TConnection

The originating network connection.

encryptedClientProof byte[]

Encrypted client proof bytes.

encryptionData ConnectionEncryptionData

Per-connection encryption state for nonce derivation.

seq uint

Broadcast sequence number for replay protection and nonce derivation.

Fields

Connection

The network connection that submitted the SRP proof.

public readonly TConnection Connection

Field Value

TConnection

EncryptedClientProof

Encrypted client proof bytes (AES). Decryption deferred to worker thread.

public readonly byte[] EncryptedClientProof

Field Value

byte[]

EncryptionData

Per-connection encryption state holding the symmetric key, session prefix, and counters for deriving unique GCM nonces on the worker thread.

public readonly ConnectionEncryptionData EncryptionData

Field Value

ConnectionEncryptionData

Seq

Explicit client-sent sequence number for this proof message.

public readonly uint Seq

Field Value

uint