AEADFilter.setAssociatedData

Set associated data that is not included in the ciphertext but that should be authenticated. Must be called after setKey and before endMsg.

class AEADFilter
void
setAssociatedData
(
const(ubyte)* ad
,
size_t ad_len
)

Parameters

ad const(ubyte)*

the associated data

ad_len size_t

length of add in bytes

Meta