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
TConnectionThe 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
connectionTConnectionThe originating network connection.
encryptedClientProofbyte[]Encrypted client proof bytes.
encryptionDataConnectionEncryptionDataPer-connection encryption state for nonce derivation.
sequintBroadcast 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
Seq
Explicit client-sent sequence number for this proof message.
public readonly uint Seq