Mechanism and its parameters (CK_MECHANISM alternative)
More...
Inherits Net.Pkcs11Interop.HighLevelAPI.IMechanism.
Mechanism and its parameters (CK_MECHANISM alternative)
◆ Mechanism() [1/6]
Net.Pkcs11Interop.HighLevelAPI81.Mechanism.Mechanism |
( |
ulong |
type | ) |
|
Creates mechanism of given type with no parameter
- Parameters
-
◆ Mechanism() [2/6]
Net.Pkcs11Interop.HighLevelAPI81.Mechanism.Mechanism |
( |
CKM |
type | ) |
|
Creates mechanism of given type with no parameter
- Parameters
-
◆ Mechanism() [3/6]
Net.Pkcs11Interop.HighLevelAPI81.Mechanism.Mechanism |
( |
ulong |
type, |
|
|
byte [] |
parameter |
|
) |
| |
Creates mechanism of given type with byte array parameter
- Parameters
-
◆ Mechanism() [4/6]
Net.Pkcs11Interop.HighLevelAPI81.Mechanism.Mechanism |
( |
CKM |
type, |
|
|
byte [] |
parameter |
|
) |
| |
Creates mechanism of given type with byte array parameter
- Parameters
-
◆ Mechanism() [5/6]
Net.Pkcs11Interop.HighLevelAPI81.Mechanism.Mechanism |
( |
ulong |
type, |
|
|
IMechanismParams |
parameter |
|
) |
| |
Creates mechanism of given type with object parameter
- Parameters
-
◆ Mechanism() [6/6]
Creates mechanism of given type with object parameter
- Parameters
-
◆ Dispose() [1/2]
void Net.Pkcs11Interop.HighLevelAPI81.Mechanism.Dispose |
( |
| ) |
|
◆ Dispose() [2/2]
virtual void Net.Pkcs11Interop.HighLevelAPI81.Mechanism.Dispose |
( |
bool |
disposing | ) |
|
|
protectedvirtual |
Disposes object
- Parameters
-
disposing | Flag indicating whether managed resources should be disposed |
◆ ToMarshalableStructure()
object Net.Pkcs11Interop.HighLevelAPI81.Mechanism.ToMarshalableStructure |
( |
| ) |
|
Returns managed object corresponding to CK_MECHANISM structure 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.IMechanism.
◆ _ckMechanism
CK_MECHANISM Net.Pkcs11Interop.HighLevelAPI81.Mechanism._ckMechanism |
|
protected |
Low level mechanism structure
◆ _disposed
bool Net.Pkcs11Interop.HighLevelAPI81.Mechanism._disposed = false |
|
protected |
Flag indicating whether instance has been disposed
◆ _mechanismParams
IMechanismParams Net.Pkcs11Interop.HighLevelAPI81.Mechanism._mechanismParams = null |
|
protected |
High level object with mechanism parameters
◆ Type
ulong Net.Pkcs11Interop.HighLevelAPI81.Mechanism.Type |
|
get |
The documentation for this class was generated from the following file:
- HighLevelAPI81/Mechanism.cs