C# Class Net.Pkcs11Interop.LowLevelAPI40.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 ( uint mechanism ) : CK_MECHANISM

Creates mechanism of given type with no parameter

CreateMechanism ( uint mechanism, byte parameter ) : CK_MECHANISM

Creates mechanism of given type with byte array parameter

CreateMechanism ( uint mechanism, object parameterStructure ) : CK_MECHANISM

Creates mechanism of given type with structure as parameter

Private Methods

Méthode Description
_CreateMechanism ( uint 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 ( uint mechanism ) : CK_MECHANISM
mechanism uint Mechanism type
Résultat CK_MECHANISM

CreateMechanism() public static méthode

Creates mechanism of given type with byte array parameter
public static CreateMechanism ( uint mechanism, byte parameter ) : CK_MECHANISM
mechanism uint 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 ( uint mechanism, object parameterStructure ) : CK_MECHANISM
mechanism uint Mechanism type
parameterStructure object Structure with mechanism parameters
Résultat CK_MECHANISM