C# Класс Net.Pkcs11Interop.LowLevelAPI81.CkmUtils

Utility class that helps to manage CK_MECHANISM structure
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateMechanism ( CKM mechanism ) : CK_MECHANISM

Creates mechanism of given type with no parameter

CreateMechanism ( CKM mechanism, byte parameter ) : CK_MECHANISM

Creates mechanism of given type with byte array parameter

CreateMechanism ( CKM mechanism, object parameterStructure ) : CK_MECHANISM

Creates mechanism of given type with structure as parameter

CreateMechanism ( ulong mechanism ) : CK_MECHANISM

Creates mechanism of given type with no parameter

CreateMechanism ( ulong mechanism, byte parameter ) : CK_MECHANISM

Creates mechanism of given type with byte array parameter

CreateMechanism ( ulong mechanism, object parameterStructure ) : CK_MECHANISM

Creates mechanism of given type with structure as parameter

Приватные методы

Метод Описание
_CreateMechanism ( ulong mechanism, byte parameter ) : CK_MECHANISM

Creates mechanism of given type with parameter copied from managed byte array to the newly allocated unmanaged memory

Описание методов

CreateMechanism() публичный статический Метод

Creates mechanism of given type with no parameter
public static CreateMechanism ( CKM mechanism ) : CK_MECHANISM
mechanism CKM Mechanism type
Результат CK_MECHANISM

CreateMechanism() публичный статический Метод

Creates mechanism of given type with byte array parameter
public static CreateMechanism ( CKM mechanism, byte parameter ) : CK_MECHANISM
mechanism CKM Mechanism type
parameter byte Mechanism parameter
Результат CK_MECHANISM

CreateMechanism() публичный статический Метод

Creates mechanism of given type with structure as parameter
public static CreateMechanism ( CKM mechanism, object parameterStructure ) : CK_MECHANISM
mechanism CKM Mechanism type
parameterStructure object Structure with mechanism parameters
Результат CK_MECHANISM

CreateMechanism() публичный статический Метод

Creates mechanism of given type with no parameter
public static CreateMechanism ( ulong mechanism ) : CK_MECHANISM
mechanism ulong Mechanism type
Результат CK_MECHANISM

CreateMechanism() публичный статический Метод

Creates mechanism of given type with byte array parameter
public static CreateMechanism ( ulong mechanism, byte parameter ) : CK_MECHANISM
mechanism ulong Mechanism type
parameter byte Mechanism parameter
Результат CK_MECHANISM

CreateMechanism() публичный статический Метод

Creates mechanism of given type with structure as parameter
public static CreateMechanism ( ulong mechanism, object parameterStructure ) : CK_MECHANISM
mechanism ulong Mechanism type
parameterStructure object Structure with mechanism parameters
Результат CK_MECHANISM