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
TConnectionThe 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
connectionTConnectionThe originating network connection.
encryptedUsernamebyte[]Encrypted username or email bytes.
encryptedPublicEphemeralbyte[]Encrypted client public ephemeral bytes.
encryptionDataConnectionEncryptionDataPer-connection encryption state for nonce derivation.
sequintExplicit 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
Seq
Explicit client-sent sequence number (last sequence used for this broadcast).
public readonly uint Seq