C# Класс Net.Pkcs11Interop.HighLevelAPI81.Slot

Logical reader that potentially contains a token
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CloseAllSessions ( ) : void

Closes all sessions an application has with a token

CloseSession ( Session session ) : void

Closes a session between an application and a token

GetMechanismInfo ( CKM mechanism ) : MechanismInfo

Obtains information about a particular mechanism possibly supported by a token

GetMechanismList ( ) : List

Obtains a list of mechanism types supported by a token

GetSlotInfo ( ) : SlotInfo

Obtains information about a particular slot in the system

GetTokenInfo ( ) : TokenInfo

Obtains information about a particular token in the system.

InitToken ( byte soPin, byte label ) : void

Initializes a token

InitToken ( string soPin, string label ) : void

Initializes a token

OpenSession ( bool readOnly ) : Session

Opens a session between an application and a token in a particular slot

Приватные методы

Метод Описание
Slot ( LowLevelAPI81 pkcs11, ulong slotId ) : System

Initializes new instance of Slot class

Описание методов

CloseAllSessions() публичный Метод

Closes all sessions an application has with a token
public CloseAllSessions ( ) : void
Результат void

CloseSession() публичный Метод

Closes a session between an application and a token
public CloseSession ( Session session ) : void
session Session Session
Результат void

GetMechanismInfo() публичный Метод

Obtains information about a particular mechanism possibly supported by a token
public GetMechanismInfo ( CKM mechanism ) : MechanismInfo
mechanism CKM Mechanism
Результат MechanismInfo

GetMechanismList() публичный Метод

Obtains a list of mechanism types supported by a token
public GetMechanismList ( ) : List
Результат List

GetSlotInfo() публичный Метод

Obtains information about a particular slot in the system
public GetSlotInfo ( ) : SlotInfo
Результат SlotInfo

GetTokenInfo() публичный Метод

Obtains information about a particular token in the system.
public GetTokenInfo ( ) : TokenInfo
Результат TokenInfo

InitToken() публичный Метод

Initializes a token
public InitToken ( byte soPin, byte label ) : void
soPin byte SO's initial PIN
label byte Label of the token
Результат void

InitToken() публичный Метод

Initializes a token
public InitToken ( string soPin, string label ) : void
soPin string SO's initial PIN
label string Label of the token
Результат void

OpenSession() публичный Метод

Opens a session between an application and a token in a particular slot
public OpenSession ( bool readOnly ) : Session
readOnly bool Flag indicating whether session should be read only
Результат Session