CryptoSys API Library Manual
Aead.AddAAD Method
Add a chunk of additional authenticated data (in incremental mode)
Syntax
[C#]
public int AddAAD(
byte[] aad
)
[VB.NET]
Public Function AddAAD ( _
aad As Byte() _
) As Integer
Parameters
- aad
- Chunk of additional data to add
Return Value
Zero (0) if successful; otherwise it returns a nonzero
error code
Remarks
May be repeated to add additional data in chunks. Must eventually be followed by either StartEncrypt() or StartDecrypt().
See Also
VB6/C equivalent: AEAD_AddAAD
[Contents] [Index]