HID OMNIKEY Smart Card Readers' Sample Codes  0.0.0.116
HidGlobal.OK.Readers.SecureSession.AesCounterMode Class Reference
Inheritance diagram for HidGlobal.OK.Readers.SecureSession.AesCounterMode:

Public Member Functions

 AesCounterMode (byte[] counterInitialState)
 Constructor of Aes Counter Mode object. More...
 
override void GenerateIV ()
 Obsolete in counter mode. More...
 
override void GenerateKey ()
 Generates a random key to use for the algorithm. More...
 
override ICryptoTransform CreateDecryptor (byte[] rgbKey, byte[] rgbIv)
 Creates decryptor object. More...
 
ICryptoTransform CreateDecryptor (byte[] rgbKey)
 Creates decryptor object. More...
 
override ICryptoTransform CreateEncryptor (byte[] rgbKey, byte[] rgbIv)
 Creates encryptor object. More...
 
ICryptoTransform CreateEncryptor (byte[] rgbKey)
 Creates encryptor object. More...
 

Constructor & Destructor Documentation

◆ AesCounterMode()

HidGlobal.OK.Readers.SecureSession.AesCounterMode.AesCounterMode ( byte []  counterInitialState)

Constructor of Aes Counter Mode object.

Parameters
counterInitialStateInitial state of counter, 16 bytes length.

Member Function Documentation

◆ CreateDecryptor() [1/2]

override ICryptoTransform HidGlobal.OK.Readers.SecureSession.AesCounterMode.CreateDecryptor ( byte []  rgbKey,
byte []  rgbIv 
)

Creates decryptor object.

Parameters
rgbKeyKey used in decryption.
rgbIvInitialization vector parametr will be omitted in counter mode.
Returns

◆ CreateDecryptor() [2/2]

ICryptoTransform HidGlobal.OK.Readers.SecureSession.AesCounterMode.CreateDecryptor ( byte []  rgbKey)

Creates decryptor object.

Parameters
rgbKeyKey used in decryption.
Returns

◆ CreateEncryptor() [1/2]

override ICryptoTransform HidGlobal.OK.Readers.SecureSession.AesCounterMode.CreateEncryptor ( byte []  rgbKey,
byte []  rgbIv 
)

Creates encryptor object.

Parameters
rgbKeyKey used in encryption.
rgbIvInitialization vector parametr will be omitted in counter mode.
Returns

◆ CreateEncryptor() [2/2]

ICryptoTransform HidGlobal.OK.Readers.SecureSession.AesCounterMode.CreateEncryptor ( byte []  rgbKey)

Creates encryptor object.

Parameters
rgbKeyKey used in encryption.
Returns

◆ GenerateIV()

override void HidGlobal.OK.Readers.SecureSession.AesCounterMode.GenerateIV ( )

Obsolete in counter mode.

◆ GenerateKey()

override void HidGlobal.OK.Readers.SecureSession.AesCounterMode.GenerateKey ( )

Generates a random key to use for the algorithm.


The documentation for this class was generated from the following file: