Pkcs11Interop  5.1.2
Static Public Member Functions | List of all members
Net.Pkcs11Interop.LowLevelAPI41.CkmUtils Class Reference

Utility class that helps to manage CK_MECHANISM structure More...

Static Public Member Functions

static CK_MECHANISM CreateMechanism (CKM mechanism)
 Creates mechanism of given type with no parameter More...
 
static CK_MECHANISM CreateMechanism (NativeULong mechanism)
 Creates mechanism of given type with no parameter More...
 
static CK_MECHANISM CreateMechanism (CKM mechanism, byte[] parameter)
 Creates mechanism of given type with byte array parameter More...
 
static CK_MECHANISM CreateMechanism (NativeULong mechanism, byte[] parameter)
 Creates mechanism of given type with byte array parameter More...
 
static CK_MECHANISM CreateMechanism (CKM mechanism, object parameterStructure)
 Creates mechanism of given type with structure as parameter More...
 
static CK_MECHANISM CreateMechanism (NativeULong mechanism, object parameterStructure)
 Creates mechanism of given type with structure as parameter More...
 

Detailed Description

Utility class that helps to manage CK_MECHANISM structure

Member Function Documentation

◆ CreateMechanism() [1/6]

static CK_MECHANISM Net.Pkcs11Interop.LowLevelAPI41.CkmUtils.CreateMechanism ( CKM  mechanism)
static

Creates mechanism of given type with no parameter

Parameters
mechanismMechanism type
Returns
Mechanism of given type with no parameter

◆ CreateMechanism() [2/6]

static CK_MECHANISM Net.Pkcs11Interop.LowLevelAPI41.CkmUtils.CreateMechanism ( NativeULong  mechanism)
static

Creates mechanism of given type with no parameter

Parameters
mechanismMechanism type
Returns
Mechanism of given type with no parameter

◆ CreateMechanism() [3/6]

static CK_MECHANISM Net.Pkcs11Interop.LowLevelAPI41.CkmUtils.CreateMechanism ( CKM  mechanism,
byte []  parameter 
)
static

Creates mechanism of given type with byte array parameter

Parameters
mechanismMechanism type
parameterMechanism parameter
Returns
Mechanism of given type with byte array parameter

◆ CreateMechanism() [4/6]

static CK_MECHANISM Net.Pkcs11Interop.LowLevelAPI41.CkmUtils.CreateMechanism ( NativeULong  mechanism,
byte []  parameter 
)
static

Creates mechanism of given type with byte array parameter

Parameters
mechanismMechanism type
parameterMechanism parameter
Returns
Mechanism of given type with byte array parameter

◆ CreateMechanism() [5/6]

static CK_MECHANISM Net.Pkcs11Interop.LowLevelAPI41.CkmUtils.CreateMechanism ( CKM  mechanism,
object  parameterStructure 
)
static

Creates mechanism of given type with structure as parameter

Parameters
mechanismMechanism type
parameterStructureStructure with mechanism parameters
Returns
Mechanism of given type with structure as parameter

◆ CreateMechanism() [6/6]

static CK_MECHANISM Net.Pkcs11Interop.LowLevelAPI41.CkmUtils.CreateMechanism ( NativeULong  mechanism,
object  parameterStructure 
)
static

Creates mechanism of given type with structure as parameter

Parameters
mechanismMechanism type
parameterStructureStructure with mechanism parameters
Returns
Mechanism of given type with structure as parameter

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