Pkcs11Interop
5.1.2
|
Logical reader that potentially contains a token More...
Inherited by Net.Pkcs11Interop.HighLevelAPI40.Slot, Net.Pkcs11Interop.HighLevelAPI41.Slot, Net.Pkcs11Interop.HighLevelAPI80.Slot, and Net.Pkcs11Interop.HighLevelAPI81.Slot.
Public Member Functions | |
ISlotInfo | GetSlotInfo () |
Obtains information about a particular slot in the system More... | |
ITokenInfo | GetTokenInfo () |
Obtains information about a particular token in the system. More... | |
List< CKM > | GetMechanismList () |
Obtains a list of mechanism types supported by a token More... | |
IMechanismInfo | GetMechanismInfo (CKM mechanism) |
Obtains information about a particular mechanism possibly supported by a token More... | |
void | InitToken (string soPin, string label) |
Initializes a token More... | |
void | InitToken (byte[] soPin, byte[] label) |
Initializes a token More... | |
ISession | OpenSession (SessionType sessionType) |
Opens a session between an application and a token in a particular slot More... | |
void | CloseSession (ISession session) |
Closes a session between an application and a token More... | |
void | CloseAllSessions () |
Closes all sessions an application has with a token More... | |
Properties | |
Pkcs11InteropFactories | Factories [get] |
Factories to be used by Developer and Pkcs11Interop library More... | |
ulong | SlotId [get] |
PKCS#11 handle of slot More... | |
Logical reader that potentially contains a token
void Net.Pkcs11Interop.HighLevelAPI.ISlot.CloseAllSessions | ( | ) |
Closes all sessions an application has with a token
Implemented in Net.Pkcs11Interop.HighLevelAPI40.Slot, Net.Pkcs11Interop.HighLevelAPI41.Slot, Net.Pkcs11Interop.HighLevelAPI80.Slot, and Net.Pkcs11Interop.HighLevelAPI81.Slot.
void Net.Pkcs11Interop.HighLevelAPI.ISlot.CloseSession | ( | ISession | session | ) |
Closes a session between an application and a token
session | Session |
Implemented in Net.Pkcs11Interop.HighLevelAPI40.Slot, Net.Pkcs11Interop.HighLevelAPI41.Slot, Net.Pkcs11Interop.HighLevelAPI80.Slot, and Net.Pkcs11Interop.HighLevelAPI81.Slot.
IMechanismInfo Net.Pkcs11Interop.HighLevelAPI.ISlot.GetMechanismInfo | ( | CKM | mechanism | ) |
Obtains information about a particular mechanism possibly supported by a token
mechanism | Mechanism |
Implemented in Net.Pkcs11Interop.HighLevelAPI40.Slot, Net.Pkcs11Interop.HighLevelAPI41.Slot, Net.Pkcs11Interop.HighLevelAPI80.Slot, and Net.Pkcs11Interop.HighLevelAPI81.Slot.
List<CKM> Net.Pkcs11Interop.HighLevelAPI.ISlot.GetMechanismList | ( | ) |
Obtains a list of mechanism types supported by a token
Implemented in Net.Pkcs11Interop.HighLevelAPI40.Slot, Net.Pkcs11Interop.HighLevelAPI41.Slot, Net.Pkcs11Interop.HighLevelAPI80.Slot, and Net.Pkcs11Interop.HighLevelAPI81.Slot.
ISlotInfo Net.Pkcs11Interop.HighLevelAPI.ISlot.GetSlotInfo | ( | ) |
Obtains information about a particular slot in the system
Implemented in Net.Pkcs11Interop.HighLevelAPI40.Slot, Net.Pkcs11Interop.HighLevelAPI41.Slot, Net.Pkcs11Interop.HighLevelAPI80.Slot, and Net.Pkcs11Interop.HighLevelAPI81.Slot.
ITokenInfo Net.Pkcs11Interop.HighLevelAPI.ISlot.GetTokenInfo | ( | ) |
Obtains information about a particular token in the system.
Implemented in Net.Pkcs11Interop.HighLevelAPI40.Slot, Net.Pkcs11Interop.HighLevelAPI41.Slot, Net.Pkcs11Interop.HighLevelAPI80.Slot, and Net.Pkcs11Interop.HighLevelAPI81.Slot.
void Net.Pkcs11Interop.HighLevelAPI.ISlot.InitToken | ( | string | soPin, |
string | label | ||
) |
Initializes a token
soPin | SO's initial PIN |
label | Label of the token |
Implemented in Net.Pkcs11Interop.HighLevelAPI40.Slot, Net.Pkcs11Interop.HighLevelAPI41.Slot, Net.Pkcs11Interop.HighLevelAPI80.Slot, and Net.Pkcs11Interop.HighLevelAPI81.Slot.
void Net.Pkcs11Interop.HighLevelAPI.ISlot.InitToken | ( | byte [] | soPin, |
byte [] | label | ||
) |
Initializes a token
soPin | SO's initial PIN |
label | Label of the token |
Implemented in Net.Pkcs11Interop.HighLevelAPI40.Slot, Net.Pkcs11Interop.HighLevelAPI41.Slot, Net.Pkcs11Interop.HighLevelAPI80.Slot, and Net.Pkcs11Interop.HighLevelAPI81.Slot.
ISession Net.Pkcs11Interop.HighLevelAPI.ISlot.OpenSession | ( | SessionType | sessionType | ) |
Opens a session between an application and a token in a particular slot
sessionType | Type of session to be opened |
Implemented in Net.Pkcs11Interop.HighLevelAPI40.Slot, Net.Pkcs11Interop.HighLevelAPI41.Slot, Net.Pkcs11Interop.HighLevelAPI80.Slot, and Net.Pkcs11Interop.HighLevelAPI81.Slot.
|
get |
Factories to be used by Developer and Pkcs11Interop library
|
get |
PKCS#11 handle of slot