Class Pkcs11Token
Simplified PKCS#11 token abstraction.
Inherited Members
Namespace: DRIT.Pdf.Security
Assembly: DRIT.Pdf.dll
Syntax
public sealed class Pkcs11Token
Properties
DigitalIds
Digital IDs stored on this token.
Declaration
public IReadOnlyList<DigitalId> DigitalIds { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<DigitalId> |
IsLoggedIn
Token login state.
Declaration
public bool IsLoggedIn { get; }
Property Value
| Type | Description |
|---|---|
| bool |
TokenLabel
Token label.
Declaration
public string TokenLabel { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Login(string)
Authenticates to the token.
Declaration
public void Login(string pin)
Parameters
| Type | Name | Description |
|---|---|---|
| string | pin |
Logout()
Logs out of the token.
Declaration
public void Logout()