Click or drag to resize

Gcm Class

Provides authenticated encryption using the Galois/Counter Mode (GCM) of operation with the AES algorithm (AES-GCM).
Inheritance Hierarchy
SystemObject
  CryptoSysAPIGcm

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public class Gcm : IDisposable

The Gcm type exposes the following members.

Properties
 NameDescription
Public propertyErrCode Last error code (object-related only)
Top
Methods
 NameDescription
Public methodStatic memberDecrypt Decrypt input using AES-GCM in one-off operation
Public methodDispose Dispose of this object and clear any key schedules
Public methodStatic memberEncrypt Encrypt input using AES-GCM in one-off operation
Public methodStatic memberGmac Compute GMAC using AES-GCM in one-off operation
Public methodCode exampleInitKey Initializes the context with the key ready for repeated operations of Gcm.NextEncrypt, Gcm.NextDecrypt, or Gcm.NextGmac.
Public methodStatic memberInstance Create the one and only instance
Public methodNextDecrypt Carries out the GCM decryption operation using the key set up by an earlier call to Gcm.InitKey.
Public methodNextEncrypt Carries out the GCM encryption operation using the key set up by an earlier call to Gcm.InitKey.
Public methodNextGmac Carries out the GMAC operation using the key set up by an earlier call to Gcm.InitKey.
Top
Fields
 NameDescription
Public fieldStatic memberTagMaxSize Maximum size of tag in bytes
Top
See Also