C# 클래스 Net.Pkcs11Interop.HighLevelAPI40.Slot

Logical reader that potentially contains a token
파일 보기 프로젝트 열기: Pkcs11Interop/Pkcs11Interop 1 사용 예제들

공개 메소드들

메소드 설명
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 ( LowLevelAPI40 pkcs11, uint 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