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