Pkcs11Interop
5.1.2
|
High level PKCS#11 wrapper More...
Inherits Net.Pkcs11Interop.HighLevelAPI.IPkcs11Library.
Public Member Functions | |
Pkcs11Library (Pkcs11InteropFactories factories, string libraryPath, AppType appType) | |
Loads and initializes PCKS#11 library More... | |
Pkcs11Library (Pkcs11InteropFactories factories, string libraryPath, AppType appType, InitType initType) | |
Loads and initializes PCKS#11 library More... | |
ILibraryInfo | GetInfo () |
Gets general information about loaded PKCS#11 library More... | |
List< ISlot > | GetSlotList (SlotsType slotsType) |
Obtains a list of slots in the system More... | |
void | WaitForSlotEvent (WaitType waitType, out bool eventOccured, out ulong slotId) |
Waits for a slot event, such as token insertion or token removal, to occur More... | |
void | Dispose () |
Disposes object More... | |
Protected Member Functions | |
Pkcs11Library (Pkcs11InteropFactories factories, string libraryPath) | |
Initializes new instance of Pkcs11Library class More... | |
void | Initialize (AppType appType) |
Initializes PCKS#11 library More... | |
virtual void | Dispose (bool disposing) |
Disposes object More... | |
Protected Attributes | |
bool | _disposed = false |
Flag indicating whether instance has been disposed More... | |
Pkcs11InteropFactories | _factories = null |
Factories to be used by Developer and Pkcs11Interop library More... | |
string | _libraryPath = null |
Library name or path More... | |
LowLevelAPI80.Pkcs11Library | _pkcs11Library = null |
Low level PKCS#11 wrapper More... | |
Properties | |
Pkcs11InteropFactories | Factories [get] |
Factories to be used by Developer and Pkcs11Interop library More... | |
Properties inherited from Net.Pkcs11Interop.HighLevelAPI.IPkcs11Library | |
Pkcs11InteropFactories | Factories [get] |
Factories to be used by Developer and Pkcs11Interop library More... | |
High level PKCS#11 wrapper
|
protected |
Initializes new instance of Pkcs11Library class
factories | Factories to be used by Developer and Pkcs11Interop library |
libraryPath | Library name or path |
Net.Pkcs11Interop.HighLevelAPI80.Pkcs11Library.Pkcs11Library | ( | Pkcs11InteropFactories | factories, |
string | libraryPath, | ||
AppType | appType | ||
) |
Loads and initializes PCKS#11 library
factories | Factories to be used by Developer and Pkcs11Interop library |
libraryPath | Library name or path |
appType | Type of application that will be using PKCS#11 library |
Net.Pkcs11Interop.HighLevelAPI80.Pkcs11Library.Pkcs11Library | ( | Pkcs11InteropFactories | factories, |
string | libraryPath, | ||
AppType | appType, | ||
InitType | initType | ||
) |
Loads and initializes PCKS#11 library
factories | Factories to be used by Developer and Pkcs11Interop library |
libraryPath | Library name or path |
appType | Type of application that will be using PKCS#11 library |
initType | Source of PKCS#11 function pointers |
void Net.Pkcs11Interop.HighLevelAPI80.Pkcs11Library.Dispose | ( | ) |
Disposes object
|
protectedvirtual |
Disposes object
disposing | Flag indicating whether managed resources should be disposed |
ILibraryInfo Net.Pkcs11Interop.HighLevelAPI80.Pkcs11Library.GetInfo | ( | ) |
Gets general information about loaded PKCS#11 library
Implements Net.Pkcs11Interop.HighLevelAPI.IPkcs11Library.
Obtains a list of slots in the system
slotsType | Type of slots to be obtained |
Implements Net.Pkcs11Interop.HighLevelAPI.IPkcs11Library.
|
protected |
Initializes PCKS#11 library
appType | Type of application that will be using PKCS#11 library |
void Net.Pkcs11Interop.HighLevelAPI80.Pkcs11Library.WaitForSlotEvent | ( | WaitType | waitType, |
out bool | eventOccured, | ||
out ulong | slotId | ||
) |
Waits for a slot event, such as token insertion or token removal, to occur
waitType | Type of waiting for a slot event |
eventOccured | Flag indicating whether event occured |
slotId | PKCS#11 handle of slot that the event occurred in |
Implements Net.Pkcs11Interop.HighLevelAPI.IPkcs11Library.
|
protected |
Flag indicating whether instance has been disposed
|
protected |
Factories to be used by Developer and Pkcs11Interop library
|
protected |
Library name or path
|
protected |
Low level PKCS#11 wrapper
|
get |
Factories to be used by Developer and Pkcs11Interop library