Provides generic authenticated encryption.
Inheritance HierarchySystemObject
CryptoSysAPIAead
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic class Aead : IDisposable
Public Class Aead
Implements IDisposable
The Aead type exposes the following members.
Properties| | Name | Description |
|---|
 | ErrCode |
Last error code (object-related only)
|
Top
Methods| | Name | Description |
|---|
 | AddAAD |
Add a chunk of additional authenticated data (in incremental mode)
|
  | Authenticate |
Authenticate additional data using tag
|
  | Decrypt |
Decrypt and authenticate input using specified AEAD algorithm in one-off operation
|
  | DecryptWithTag(Byte, Byte, Byte, AeadAlgorithm) |
Decrypt data using specified AEAD algorithm in one-off operation. The authentication tag is expected to be appended to the input ciphertext.
|
  | DecryptWithTag(Byte, Byte, Byte, Byte, AeadAlgorithm, AeadOpts) |
Decrypt data using specified AEAD algorithm in one-off operation with AAD and options. The authentication tag is expected to be appended to the input ciphertext.
|
 | Dispose |
Dispose of this object and clear any key schedules
|
  | Encrypt |
Encrypt input using specified AEAD algorithm in one-off operation.
|
  | EncryptWithTag(Byte, Byte, Byte, AeadAlgorithm) |
Encrypt data using specified AEAD algorithm in one-off operation. The authentication tag is appended to the output.
|
  | EncryptWithTag(Byte, Byte, Byte, Byte, AeadAlgorithm, AeadOpts) |
Encrypt data using specified AEAD algorithm in one-off operation with AAD and options. The authentication tag is appended to the output.
|
 | FinishDecrypt |
Finishes the authenticated decryption (in incremental mode)
|
 | FinishEncrypt |
Finishes the authenticated encryption (in incremental mode)
|
  | InitKey |
Initializes the context with the key and algorithm ready for repeated incremental operations
|
  | Instance |
Create the one and only instance
|
  | Mac |
Compute Message Authentication Code (tag) over input data
|
 | SetNonce |
Set the nonce (in incremental mode)
|
 | StartDecrypt |
Start authenticated decryption (in incremental mode)
|
 | StartEncrypt |
Start authenticated encryption (in incremental mode)
|
 | Update |
Encrypts or decrypts a chunk of input (in incremental mode)
|
Top
Fields
See Also