Click or drag to resize

PdfPkcs11Module Class

Represents a cryptographic device that stores cryptographic information and possibly performs cryptographic functions accessible through PKCS#11 application programming interface called "Cryptoki".

Cryptographic device may be implemented as a smart card, smart disk, PCMCIA card, or with some other technology, including software-only.

Note  Note
SautinSoft.Pdf uses Pkcs11Interop to communicate with a cryptographic device from a .NET runtime so your project must reference NuGet package Pkcs11Interop in order to use this class.
Important note  Important
After you are finished using PdfPkcs11Module make sure you either dispose it or call its Close method.
Inheritance Hierarchy
SystemObject
  SautinSoft.Pdf.SecurityPdfPkcs11Module

Namespace: SautinSoft.Pdf.Security
Assembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2025.4.23
Syntax
public sealed class PdfPkcs11Module : IDisposable

The PdfPkcs11Module type exposes the following members.

Constructors
 NameDescription
Public methodPdfPkcs11Module Initializes a new instance of the PdfPkcs11Module class using a path to the specified PKCS#11 module.
Top
Properties
 NameDescription
Public propertyCryptokiVersion Gets the Cryptoki interface version number.
Public propertyLibraryPath Gets the path to the PKCS#11 module (usually a .dll).
Public propertyLibraryVersion Gets the Cryptoki library version number.
Public propertyModuleDescription Gets the description of the library.
Public propertyModuleManufacturerId Gets the ID of the Cryptoki library manufacturer.
Public propertyTokens Gets the tokens present in all slots of this cryptographic device.
Top
Methods
 NameDescription
Public methodClose Indicates that an application is finished with the Cryptoki library. It should be the last Cryptoki call made by an application.
Public methodToString Returns a String that represents this PdfPkcs11Module instance.
(Overrides ObjectToString)
Top
See Also