Table of Contents

Struct SrpVerifyRequest<TConnection>

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

Immutable request data for async SRP verification processing. Contains ENCRYPTED credentials to avoid blocking the network thread with decryption. Generic over connection type to maintain engine independence.

public readonly struct SrpVerifyRequest<TConnection>

Type Parameters

TConnection

The transport's connection representation.

Inherited Members

Constructors

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

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

public SrpVerifyRequest(TConnection connection, byte[] encryptedUsername, byte[] encryptedPublicEphemeral, ConnectionEncryptionData encryptionData, uint seq)

Parameters

connection TConnection

The originating network connection.

encryptedUsername byte[]

Encrypted username or email bytes.

encryptedPublicEphemeral byte[]

Encrypted client public ephemeral bytes.

encryptionData ConnectionEncryptionData

Per-connection encryption state for nonce derivation.

seq uint

Explicit sequence number.

Fields

Connection

The network connection that initiated the SRP verify handshake.

public readonly TConnection Connection

Field Value

TConnection

EncryptedPublicEphemeral

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

public readonly byte[] EncryptedPublicEphemeral

Field Value

byte[]

EncryptedUsername

Encrypted username or email bytes (AES). Decryption deferred to worker thread.

public readonly byte[] EncryptedUsername

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 (last sequence used for this broadcast).

public readonly uint Seq

Field Value

uint