TlsAead.decryptWithSequence
ubyte[] decryptWithSequence(const(ubyte)[] ciphertext, const(ubyte)[] aad,
ulong recordSequence)Decrypts a record using the nonce for an explicit record sequence number.
Parameters
ciphertext | Ciphertext + tag. |
aad | Additional authenticated data. |
recordSequence | The record's wire sequence number. |
Returns
Decrypted plaintext.
Throws
TlsException on decryption failure.