PdfPkcs11Token Class
Represents the logical view of a cryptographic device defined by Cryptoki.
Various objects can be stored on a token. These include data, certificates and keys.
Stored objects can be accessed and cryptographic functions performed only after the session (a logical connection between an application and a token) is opened.
- Inheritance:
- System.ObjectPdfPkcs11Token
Properties
DigitalIds
Gets the digital IDs contained on this token.
public IList<PdfPkcs11DigitalId> DigitalIds { get; }
Public ReadOnly Property DigitalIds As IList(Of PdfPkcs11DigitalId)
Property Value
- System.Collections.Generic.IList<PdfPkcs11DigitalId>
The digital IDs contained on this token.
Model
Gets the model of the device.
Property Value
- System.String
The model of the device.
ModuleManufacturerId
Gets the ID of the device manufacturer.
public string ModuleManufacturerId { get; }
Public ReadOnly Property ModuleManufacturerId As String
Property Value
- System.String
The ID of the device manufacturer.
SerialNumber
Gets the serial number of the device.
Property Value
- System.String
The serial number of the device.
TokenLabel
Gets the application-defined label, assigned during token initialization.
Property Value
- System.String
The application-defined label, assigned during token initialization.
Methods
Login(String)
Logs a user into a token.
Parameters
pin
- System.String
The user's Personal Identification Number (PIN).
See Also
Logout()
Logs a user out from a token.
See Also
ToString()
Returns a System.String that represents this PdfPkcs11Module instance.
Returns
- System.String
A System.String that represents this PdfPkcs11Module instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).