C# Class Net.Pkcs11Interop.LowLevelAPI81.CkmUtils

Utility class that helps to manage CK_MECHANISM structure
Afficher le fichier Open project: Pkcs11Interop/Pkcs11Interop

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
_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

Method Details

CreateMechanism() public static méthode

Creates mechanism of given type with no parameter
public static CreateMechanism ( CKM mechanism ) : CK_MECHANISM
mechanism CKM Mechanism type
Résultat CK_MECHANISM

CreateMechanism() public static méthode

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
Résultat CK_MECHANISM

CreateMechanism() public static méthode

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
Résultat CK_MECHANISM

CreateMechanism() public static méthode

Creates mechanism of given type with no parameter
public static CreateMechanism ( ulong mechanism ) : CK_MECHANISM
mechanism ulong Mechanism type
Résultat CK_MECHANISM

CreateMechanism() public static méthode

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
Résultat CK_MECHANISM

CreateMechanism() public static méthode

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
Résultat CK_MECHANISM