Dtls13Server.processEarlyDataRecord

bool processEarlyDataRecord(const(ubyte)[] recordData, DtlsReplayCache replayCache = null)

Attempts to decrypt an early data record.

Checks if the record is an APPLICATION_DATA record with epoch 1 (early data). If so, decrypts and invokes the onEarlyData callback.

Parameters

recordDataRaw record bytes.

Returns

true if this was an early data record (processed or rejected),

false if not an early data record.