Pkcs11Interop
5.1.2
|
Logical reader that potentially contains a token More...
Inherits Net.Pkcs11Interop.HighLevelAPI.ISlot.
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... | |
Protected Attributes | |
Pkcs11InteropFactories | _factories = null |
Factories to be used by Developer and Pkcs11Interop library More... | |
LowLevelAPI41.Pkcs11Library | _pkcs11Library = null |
Low level PKCS#11 wrapper More... | |
NativeULong | _slotId = 0 |
PKCS#11 handle of slot More... | |
Properties | |
Pkcs11InteropFactories | Factories [get] |
Factories to be used by Developer and Pkcs11Interop library More... | |
ulong | SlotId [get] |
PKCS#11 handle of slot More... | |
Properties inherited from Net.Pkcs11Interop.HighLevelAPI.ISlot | |
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.HighLevelAPI41.Slot.CloseAllSessions | ( | ) |
Closes all sessions an application has with a token
Implements Net.Pkcs11Interop.HighLevelAPI.ISlot.
void Net.Pkcs11Interop.HighLevelAPI41.Slot.CloseSession | ( | ISession | session | ) |
Closes a session between an application and a token
session | Session |
Implements Net.Pkcs11Interop.HighLevelAPI.ISlot.
IMechanismInfo Net.Pkcs11Interop.HighLevelAPI41.Slot.GetMechanismInfo | ( | CKM | mechanism | ) |
Obtains information about a particular mechanism possibly supported by a token
mechanism | Mechanism |
Implements Net.Pkcs11Interop.HighLevelAPI.ISlot.
List<CKM> Net.Pkcs11Interop.HighLevelAPI41.Slot.GetMechanismList | ( | ) |
Obtains a list of mechanism types supported by a token
Implements Net.Pkcs11Interop.HighLevelAPI.ISlot.
ISlotInfo Net.Pkcs11Interop.HighLevelAPI41.Slot.GetSlotInfo | ( | ) |
Obtains information about a particular slot in the system
Implements Net.Pkcs11Interop.HighLevelAPI.ISlot.
ITokenInfo Net.Pkcs11Interop.HighLevelAPI41.Slot.GetTokenInfo | ( | ) |
Obtains information about a particular token in the system.
Implements Net.Pkcs11Interop.HighLevelAPI.ISlot.
void Net.Pkcs11Interop.HighLevelAPI41.Slot.InitToken | ( | string | soPin, |
string | label | ||
) |
Initializes a token
soPin | SO's initial PIN |
label | Label of the token |
Implements Net.Pkcs11Interop.HighLevelAPI.ISlot.
void Net.Pkcs11Interop.HighLevelAPI41.Slot.InitToken | ( | byte [] | soPin, |
byte [] | label | ||
) |
Initializes a token
soPin | SO's initial PIN |
label | Label of the token |
Implements Net.Pkcs11Interop.HighLevelAPI.ISlot.
ISession Net.Pkcs11Interop.HighLevelAPI41.Slot.OpenSession | ( | SessionType | sessionType | ) |
Opens a session between an application and a token in a particular slot
sessionType | Type of session to be opened |
Implements Net.Pkcs11Interop.HighLevelAPI.ISlot.
|
protected |
Factories to be used by Developer and Pkcs11Interop library
|
protected |
Low level PKCS#11 wrapper
|
protected |
PKCS#11 handle of slot
|
get |
Factories to be used by Developer and Pkcs11Interop library
|
get |
PKCS#11 handle of slot