C# Class Net.Pkcs11Interop.HighLevelAPI41.Slot

Logical reader that potentially contains a token
Afficher le fichier Open project: Pkcs11Interop/Pkcs11Interop Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
Slot ( LowLevelAPI41 pkcs11, uint slotId ) : System

Initializes new instance of Slot class

Method Details

CloseAllSessions() public méthode

Closes all sessions an application has with a token
public CloseAllSessions ( ) : void
Résultat void

CloseSession() public méthode

Closes a session between an application and a token
public CloseSession ( Session session ) : void
session Session Session
Résultat void

GetMechanismInfo() public méthode

Obtains information about a particular mechanism possibly supported by a token
public GetMechanismInfo ( CKM mechanism ) : MechanismInfo
mechanism CKM Mechanism
Résultat MechanismInfo

GetMechanismList() public méthode

Obtains a list of mechanism types supported by a token
public GetMechanismList ( ) : List
Résultat List

GetSlotInfo() public méthode

Obtains information about a particular slot in the system
public GetSlotInfo ( ) : SlotInfo
Résultat SlotInfo

GetTokenInfo() public méthode

Obtains information about a particular token in the system.
public GetTokenInfo ( ) : TokenInfo
Résultat TokenInfo

InitToken() public méthode

Initializes a token
public InitToken ( byte soPin, byte label ) : void
soPin byte SO's initial PIN
label byte Label of the token
Résultat void

InitToken() public méthode

Initializes a token
public InitToken ( string soPin, string label ) : void
soPin string SO's initial PIN
label string Label of the token
Résultat void

OpenSession() public méthode

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
Résultat Session