NativeDtlsEngine.decryptAppData12
private
ubyte[] decryptAppData12(TlsAead aead, const(ubyte)[] payload,
DtlsRecordHeader header)Decrypt a DTLS 1.2 APPLICATION_DATA record (explicit nonce).
Payload format: explicit_nonce (8) | ciphertext | tag (16)
Parameters
aead | The read AEAD cipher. |
payload | The encrypted payload (including explicit nonce). |
header | The DTLS record header. |
Returns
Decrypted plaintext, or null on failure.