TlsAead.decrypt
ubyte[] decrypt(const(ubyte)[] ciphertext, const(ubyte)[] aad)Decrypts a TLS record fragment.
Parameters
ciphertext | Ciphertext + tag. |
aad | Additional authenticated data (record header). |
Returns
Decrypted plaintext.
Throws
TlsException on decryption failure.