PdfPkcs11Module Constructor |
Initializes a new instance of the
PdfPkcs11Module class using a path to the specified PKCS#11 module.
Namespace: SautinSoft.Pdf.SecurityAssembly: SautinSoft.Pdf (in SautinSoft.Pdf.dll) Version: 2026.4.2
Syntaxpublic PdfPkcs11Module(
string libraryPath,
bool performLocking = true
)
Public Sub New (
libraryPath As String,
Optional performLocking As Boolean = true
)
Parameters
- libraryPath String
- The path to the PKCS#11 module (usually a .dll).
- performLocking Boolean (Optional)
- If set to (recommended option), the PKCS#11 module will be used from multi-threaded application and needs
to perform locking with native OS threading model; otherwise, the PKCS#11 module will be used from single-threaded application and does not need to perform any
kind of locking.
See Also