Dtls13Client.encryptRecord
ubyte[] encryptRecord(ContentType contentType, const(ubyte)[] plaintext)Encrypts a record payload using the current write AEAD.
Parameters
contentType | The record content type. |
payload | The plaintext payload. |
Returns
The encrypted DTLS record.