Pkcs11Interop  5.1.2
Public Member Functions | Protected Member Functions | List of all members
Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkGcmParams Class Reference

Parameters for the CKM_AES_GCM mechanism More...

Inherits Net.Pkcs11Interop.HighLevelAPI.MechanismParams.ICkGcmParams.

Public Member Functions

 CkGcmParams (byte[] iv, NativeULong ivBits, byte[] aad, NativeULong tagBits)
 Initializes a new instance of the CkGcmParams class. More...
 
object ToMarshalableStructure ()
 Returns managed object that can be marshaled to an unmanaged block of memory More...
 
void Dispose ()
 Disposes object More...
 

Protected Member Functions

virtual void Dispose (bool disposing)
 Disposes object More...
 

Detailed Description

Parameters for the CKM_AES_GCM mechanism

Constructor & Destructor Documentation

◆ CkGcmParams()

Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkGcmParams.CkGcmParams ( byte []  iv,
NativeULong  ivBits,
byte []  aad,
NativeULong  tagBits 
)

Initializes a new instance of the CkGcmParams class.

Parameters
ivInitialization vector
ivBitsMember is defined in PKCS#11 v2.40e1 headers but the description is not present in the specification
aadAdditional authentication data
tagBitsLength of authentication tag (output following cipher text) in bits

Member Function Documentation

◆ Dispose() [1/2]

void Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkGcmParams.Dispose ( )

Disposes object

◆ Dispose() [2/2]

virtual void Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkGcmParams.Dispose ( bool  disposing)
protectedvirtual

Disposes object

Parameters
disposingFlag indicating whether managed resources should be disposed

◆ ToMarshalableStructure()

object Net.Pkcs11Interop.HighLevelAPI40.MechanismParams.CkGcmParams.ToMarshalableStructure ( )

Returns managed object that can be marshaled to an unmanaged block of memory

Returns
A managed object holding the data to be marshaled. This object must be an instance of a formatted class.

Implements Net.Pkcs11Interop.HighLevelAPI.MechanismParams.IMechanismParams.


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