Pkcs11Interop  5.1.2
Public Member Functions | Properties | List of all members
Net.Pkcs11Interop.HighLevelAPI.IPkcs11Library Interface Reference

High level PKCS#11 wrapper More...

Inherits IDisposable.

Inherited by Net.Pkcs11Interop.HighLevelAPI40.Pkcs11Library, Net.Pkcs11Interop.HighLevelAPI41.Pkcs11Library, Net.Pkcs11Interop.HighLevelAPI80.Pkcs11Library, and Net.Pkcs11Interop.HighLevelAPI81.Pkcs11Library.

Public Member Functions

ILibraryInfo GetInfo ()
 Gets general information about loaded PKCS#11 library More...
 
List< ISlotGetSlotList (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...
 

Properties

Pkcs11InteropFactories Factories [get]
 Factories to be used by Developer and Pkcs11Interop library More...
 

Detailed Description

High level PKCS#11 wrapper

Member Function Documentation

◆ GetInfo()

ILibraryInfo Net.Pkcs11Interop.HighLevelAPI.IPkcs11Library.GetInfo ( )

Gets general information about loaded PKCS#11 library

Returns
General information about loaded PKCS#11 library

Implemented in Net.Pkcs11Interop.HighLevelAPI40.Pkcs11Library, Net.Pkcs11Interop.HighLevelAPI41.Pkcs11Library, Net.Pkcs11Interop.HighLevelAPI80.Pkcs11Library, and Net.Pkcs11Interop.HighLevelAPI81.Pkcs11Library.

◆ GetSlotList()

List<ISlot> Net.Pkcs11Interop.HighLevelAPI.IPkcs11Library.GetSlotList ( SlotsType  slotsType)

Obtains a list of slots in the system

Parameters
slotsTypeType of slots to be obtained
Returns
List of available slots

Implemented in Net.Pkcs11Interop.HighLevelAPI40.Pkcs11Library, Net.Pkcs11Interop.HighLevelAPI41.Pkcs11Library, Net.Pkcs11Interop.HighLevelAPI80.Pkcs11Library, and Net.Pkcs11Interop.HighLevelAPI81.Pkcs11Library.

◆ WaitForSlotEvent()

void Net.Pkcs11Interop.HighLevelAPI.IPkcs11Library.WaitForSlotEvent ( WaitType  waitType,
out bool  eventOccured,
out ulong  slotId 
)

Waits for a slot event, such as token insertion or token removal, to occur

Parameters
waitTypeType of waiting for a slot event
eventOccuredFlag indicating whether event occured
slotIdPKCS#11 handle of slot that the event occurred in

Implemented in Net.Pkcs11Interop.HighLevelAPI40.Pkcs11Library, Net.Pkcs11Interop.HighLevelAPI41.Pkcs11Library, Net.Pkcs11Interop.HighLevelAPI80.Pkcs11Library, and Net.Pkcs11Interop.HighLevelAPI81.Pkcs11Library.

Property Documentation

◆ Factories

Pkcs11InteropFactories Net.Pkcs11Interop.HighLevelAPI.IPkcs11Library.Factories
get

Factories to be used by Developer and Pkcs11Interop library


The documentation for this interface was generated from the following file: