Download cryptoki manager
Author: R | 2025-04-23
Download Cryptoki manager (32-bit) latest version for Windows free. Cryptoki manager (32-bit) latest update: J Cryptoki manager (64-bit) Registration Key Cryptoki manager (64-bit) Developer's Description Cryptoki manager helps you perform complex tasks with a Pkcs11 module
Download Cryptoki Manager by IDRIX
50); var digitalId = new PdfDigitalId("GemBoxECDsa521.pfx", "GemBoxPassword"); Create a PDF signer that will create a PAdES signature. PdfSigner should create a CAdES-equivalent signature. Also, embed the certificate of intermediate Certificate Authority in the signature.C#var signer = new PdfSigner(digitalId); signer.SignatureFormat = PdfSignatureFormat.CAdES;signer.ValidationInfo = new PdfSignatureValidationInfo( new PdfCertificate[] { new PdfCertificate("GemBoxECDsa.crt") }, null, null);For the B-T, B-LT, and B-LTA levels, you will need to add this line of code since they require that the PdfSigner embeds a timestamp. In this example, you will use a timestamp created by freeTSA.org.C#signer.Timestamper = new PdfTimestamper(" you need to specify the signature level. In the code below you will use the PAdES_B_LTA level, but you can use any of the PdfSignatureLevel values supported by GemBox.Pdf.C#signer.SignatureLevel = PdfSignatureLevel.PAdES_B_LTA; At last, initiate signing of the PDF file with the specified signer and finish signing the PDF file.C#signatureField.Sign(signer);document.Save("Output.pdf");The screenshot below shows a PDF file with a PAdES B-B level signature created with GemBox.Pdf.Screenshot of a Pdf document with a PAdES B-B level signature.And the following screenshot shows a PDF file with a PAdES B-LTA level signature created with GemBox.Pdf.Screenshot of a Pdf document with a PAdES B-LTA level signature.How to Digitally sign a PDF file using a PKCS#11/Cryptoki deviceWith GemBox.Pdf, you can digitally sign PDF files in your C# application using a PKCS#11/Cryptoki device that conforms to PKCS#11 specification.PKCS#11 is one of the Public-Key Cryptography Standards (PKCS) that defines a platform-independent API (called "Cryptoki") for cryptographic devices, such as hardware security modules (HSM), USB Tokens, and smart cards.Follow this tutorial to digitally sign a PDF file using a Cryptoki device.In this code, you will need to use the following namespaces:C#using System; using System.IO; using System.Linq; using GemBox.Pdf; using GemBox.Pdf.Forms; using GemBox.Pdf.Security; Download and extract the GemBoxPkcs11SoftwareModule.zip package to a directory. Afterward, you will set the environment variable with the Download Cryptoki manager (32-bit) latest version for Windows free. Cryptoki manager (32-bit) latest update: J Cryptoki manager (64-bit) Registration Key Cryptoki manager (64-bit) Developer's Description Cryptoki manager helps you perform complex tasks with a Pkcs11 module Path to the configuration file. Note that this is required only for the SoftHSM device used in this tutorial. It is not necessary for your PKCS#11 device.C#var pkcs11SoftwareModuleDirectory = "C:\\GemBoxPkcs11SoftwareModule"; Environment.SetEnvironmentVariable("SOFTHSM2_CONF", Path.Combine(pkcs11SoftwareModuleDirectory, "softhsm2.conf")); Specify the path to the Cryptoki library, depending on the runtime architecture (64-bit or 32-bit).C#var libraryPath = Path.Combine(pkcs11SoftwareModuleDirectory, IntPtr.Size == 8 ? "softhsm2-x64.dll" : "softhsm2.dll");Create a new PdfPkcs11Module.C#using (var pkcs11Module = new PdfPkcs11Module(libraryPath))Get a token from your PKCS#11 device and log in to it so that you can access protected cryptographic functions. You also need to fetch a digital ID from the PKCS#11 device token.C#var token = pkcs11Module.Tokens.Single(t => t.TokenLabel == "GemBoxECDsaToken"); token.Login("GemBoxECDsaPin"); var digitalId = token.DigitalIds.Single(id => id.Certificate.SubjectCommonName == "GemBoxECDsa521"); Load the PDF document that you want to sign with PKCS#11C#using (var document = PdfDocument.Load("Reading.pdf"))Then you will add a visible signature field to the first page of the PDF document.C#var signatureField = document.Form.Fields.AddSignature(document.Pages[0], 300, 500, 250, 50); Create a PDF signer and embed the certificate of intermediate Certificate Authority in the signature.C#var signer = new PdfSigner(digitalId);var intermediateCA = token.DigitalIds.Single( id => id.Certificate.SubjectCommonName == "GemBoxECDsa").Certificate; signer.ValidationInfo = new PdfSignatureValidationInfo( new PdfCertificate[] { intermediateCA }, null, null); Initiate signing with the specified signer and finish by saving the PDF document to a PDF file.C#signatureField.Sign(signer); document.Save("Digital Signature PKCS#11.pdf");At the end, log out of the PKCS#11 token.C#The image below shows a PDF file signed using a Cryptoki device in C#:Screenshot of a Pdf document signed using a Cryptoki device.How to digitally sign a PDF file using an external signatureWhen you need to sign a large number of PDF documents, you can automate this process with GemBox.Pdf instead of doing it manually. GemBox.Pdf allows you to sign PDF documents with an external digital signature created from various sources such as an HSM, USB tokens, and smart cards.In previous examples, you signedComments
50); var digitalId = new PdfDigitalId("GemBoxECDsa521.pfx", "GemBoxPassword"); Create a PDF signer that will create a PAdES signature. PdfSigner should create a CAdES-equivalent signature. Also, embed the certificate of intermediate Certificate Authority in the signature.C#var signer = new PdfSigner(digitalId); signer.SignatureFormat = PdfSignatureFormat.CAdES;signer.ValidationInfo = new PdfSignatureValidationInfo( new PdfCertificate[] { new PdfCertificate("GemBoxECDsa.crt") }, null, null);For the B-T, B-LT, and B-LTA levels, you will need to add this line of code since they require that the PdfSigner embeds a timestamp. In this example, you will use a timestamp created by freeTSA.org.C#signer.Timestamper = new PdfTimestamper(" you need to specify the signature level. In the code below you will use the PAdES_B_LTA level, but you can use any of the PdfSignatureLevel values supported by GemBox.Pdf.C#signer.SignatureLevel = PdfSignatureLevel.PAdES_B_LTA; At last, initiate signing of the PDF file with the specified signer and finish signing the PDF file.C#signatureField.Sign(signer);document.Save("Output.pdf");The screenshot below shows a PDF file with a PAdES B-B level signature created with GemBox.Pdf.Screenshot of a Pdf document with a PAdES B-B level signature.And the following screenshot shows a PDF file with a PAdES B-LTA level signature created with GemBox.Pdf.Screenshot of a Pdf document with a PAdES B-LTA level signature.How to Digitally sign a PDF file using a PKCS#11/Cryptoki deviceWith GemBox.Pdf, you can digitally sign PDF files in your C# application using a PKCS#11/Cryptoki device that conforms to PKCS#11 specification.PKCS#11 is one of the Public-Key Cryptography Standards (PKCS) that defines a platform-independent API (called "Cryptoki") for cryptographic devices, such as hardware security modules (HSM), USB Tokens, and smart cards.Follow this tutorial to digitally sign a PDF file using a Cryptoki device.In this code, you will need to use the following namespaces:C#using System; using System.IO; using System.Linq; using GemBox.Pdf; using GemBox.Pdf.Forms; using GemBox.Pdf.Security; Download and extract the GemBoxPkcs11SoftwareModule.zip package to a directory. Afterward, you will set the environment variable with the
2025-04-18Path to the configuration file. Note that this is required only for the SoftHSM device used in this tutorial. It is not necessary for your PKCS#11 device.C#var pkcs11SoftwareModuleDirectory = "C:\\GemBoxPkcs11SoftwareModule"; Environment.SetEnvironmentVariable("SOFTHSM2_CONF", Path.Combine(pkcs11SoftwareModuleDirectory, "softhsm2.conf")); Specify the path to the Cryptoki library, depending on the runtime architecture (64-bit or 32-bit).C#var libraryPath = Path.Combine(pkcs11SoftwareModuleDirectory, IntPtr.Size == 8 ? "softhsm2-x64.dll" : "softhsm2.dll");Create a new PdfPkcs11Module.C#using (var pkcs11Module = new PdfPkcs11Module(libraryPath))Get a token from your PKCS#11 device and log in to it so that you can access protected cryptographic functions. You also need to fetch a digital ID from the PKCS#11 device token.C#var token = pkcs11Module.Tokens.Single(t => t.TokenLabel == "GemBoxECDsaToken"); token.Login("GemBoxECDsaPin"); var digitalId = token.DigitalIds.Single(id => id.Certificate.SubjectCommonName == "GemBoxECDsa521"); Load the PDF document that you want to sign with PKCS#11C#using (var document = PdfDocument.Load("Reading.pdf"))Then you will add a visible signature field to the first page of the PDF document.C#var signatureField = document.Form.Fields.AddSignature(document.Pages[0], 300, 500, 250, 50); Create a PDF signer and embed the certificate of intermediate Certificate Authority in the signature.C#var signer = new PdfSigner(digitalId);var intermediateCA = token.DigitalIds.Single( id => id.Certificate.SubjectCommonName == "GemBoxECDsa").Certificate; signer.ValidationInfo = new PdfSignatureValidationInfo( new PdfCertificate[] { intermediateCA }, null, null); Initiate signing with the specified signer and finish by saving the PDF document to a PDF file.C#signatureField.Sign(signer); document.Save("Digital Signature PKCS#11.pdf");At the end, log out of the PKCS#11 token.C#The image below shows a PDF file signed using a Cryptoki device in C#:Screenshot of a Pdf document signed using a Cryptoki device.How to digitally sign a PDF file using an external signatureWhen you need to sign a large number of PDF documents, you can automate this process with GemBox.Pdf instead of doing it manually. GemBox.Pdf allows you to sign PDF documents with an external digital signature created from various sources such as an HSM, USB tokens, and smart cards.In previous examples, you signed
2025-04-02Security is vital when it comes to sharing confidential documents. One of the best solutions to keep PDF files secure is encrypting files or restricting access to some functionalities. This is useful when sharing the document across multiple devices, people, or even the Internet.If you are using .NET and need to secure your Pdf files in C#, you can use the GemBox.Pdf component. This component allows you to create and validate PDF digital signatures in your C# and VB.NET applications.This tutorial shows you how to:Install and configure the GemBox.Pdf libraryHow to protect a PDF fileHow to decrypt a PDF fileHow to digitally sign a PDF fileHow to digitally sign a PDF file with a visible signatureHow to digitally sign a PDF file with multiple signaturesHow to digitally sign a PDF file with a PDF Advanced Electronic Signature (PAdES)How to digitally sign a PDF file using a PKCS#11/Cryptoki deviceHow to digitally sign a PDF file using an external signatureHow to validate signatures of a digitally signed PDF fileHow to remove existing digital signatures from a PDF fileInstall and configure the GemBox.Pdf libraryFor this article, we propose that you create a new .NET project. If you are unfamiliar with Visual Studio or need a reminder, refer to the official tutorial. Also, although GemBox.Pdf supports a wide range of .NET versions (from .NET Framework 4.6.2), we recommend that you use the newest version.Before you can start converting HTML to PDF, you need to install GemBox.Pdf. The best way to do that is via NuGet Package Manager.In the Solution Explorer window, right-click on the solution and select 'Manage NuGet Packages for Solution'.Search for GemBox.Pdf and click on 'Install'.As an alternative, you can open the NuGet Package Manager Console (Tools -> NuGet Package Manager -> Package Manager Console) and run the following command:Install-Package GemBox.PdfNow that
2025-04-02How to Install and Uninstall parsec-service Package on Ubuntu 24.04 LTS (Noble Numbat) Last updated: March 15,2025 1. Install "parsec-service" package This guide covers the steps necessary to install parsec-service on Ubuntu 24.04 LTS (Noble Numbat) $ sudo apt update Copied $ sudo apt install parsec-service Copied 2. Uninstall "parsec-service" package Please follow the guidance below to uninstall parsec-service on Ubuntu 24.04 LTS (Noble Numbat): $ sudo apt remove parsec-service Copied $ sudo apt autoclean && sudo apt autoremove Copied 3. Information about the parsec-service package on Ubuntu 24.04 LTS (Noble Numbat) Package: parsec-serviceArchitecture: amd64Version: 1.3.0-5Built-Using: rust-ahash-0.7 (= 0.7.7-2), rustc (= 1.75.0+dfsg0ubuntu1-0ubuntu1)Multi-Arch: allowedPriority: optionalSection: universe/utilsSource: rust-parsec-serviceOrigin: UbuntuMaintainer: Ubuntu Developers Original-Maintainer: Debian Rust Maintainers Bugs: 5050Depends: libc6 (>= 2.34), libgcc-s1 (>= 4.2), libmbedcrypto7 (>= 2.28.0), libsqlite3-0 (>= 3.6.0), libtss2-esys-3.0.2-0 (>= 2.3.1), libtss2-mu-4.0.1-0 (>= 3.0.1), libtss2-tctildr0 (>= 3.0.1), adduserBreaks: librust-parsec-client-dev (Filename: pool/universe/r/rust-parsec-service/parsec-service_1.3.0-5_amd64.debSize: 1466638MD5sum: 2805db6dfb14d90a6c96149ff3f017e9SHA1: 389e028518d8c7bf22d8f4ba010570608aaa6a46SHA256: ab5963a4f91e4d410a0650525f9d826f8c10914ae6902727fd51cf4d63e35f39SHA512: 05ce3c766895e071095f975b176565f22694bcb1f3a111c12b3f3e9f549dbb47ada6195af153fafdc3be5c6086b662e79cf316f95624c9334b73d54a1ff31b9eDescription: Abstraction layer for secure storage and operationsDescription-md5: b56b6f65d695483e33bb875286a6cb4eX-Cargo-Built-Using: rust-ahash-0.7 (= 0.7.7-2), rust-aho-corasick (= 1.1.2-1), rust-anyhow (= 1.0.75-1), rust-base64 (= 0.21.7-1), rust-bincode (= 1.3.3-1), rust-bitfield (= 0.14.0-1), rust-bitflags-1 (= 1.3.2-5), rust-bitflags (= 2.4.2-1), rust-bytes (= 1.5.0-1), rust-cfg-if (= 1.0.0-1), rust-clap-2 (= 2.34.0-3), rust-cryptoki (= 0.6.1-2), rust-cryptoki-sys (= 0.1.7-1), rust-enumflags2 (= 0.7.8-1), rust-env-logger (= 0.10.0-2), rust-fallible-iterator (= 0.3.0-2), rust-fallible-streaming-iterator (= 0.1.9-1), rust-getrandom (= 0.2.10-1), rust-hashbrown (= 0.12.3-1), rust-hashlink (= 0.8.0-1), rust-hex (= 0.4.3-2), rust-humantime (= 2.1.0-1), rust-indexmap (= 1.9.3-1), rust-lazy-static (= 1.4.0-2), rust-libc (= 0.2.152-1), rust-libloading (= 0.7.4-1), rust-libsqlite3-sys (= 0.26.0-1), rust-log (= 0.4.20-2), rust-mbox (= 0.6.0-2), rust-memchr (= 2.6.4-3build2), rust-num-bigint (= 0.4.3-2), rust-num-complex (= 0.4.0-2), rust-num-cpus (= 1.16.0-1), rust-num (= 0.4.0-1), rust-num-integer (= 0.1.44-1), rust-num-iter (= 0.1.42-1), rust-num-rational (= 0.4.1-2), rust-num-traits (= 0.2.15-1), rust-oid (= 0.2.1-1), rust-once-cell (= 1.19.0-1), rust-parsec-interface (= 0.29.1-1), rust-picky-asn1-der (= 0.4.0-1), rust-picky-asn1 (= 0.7.2-1), rust-picky-asn1-x509 (= 0.10.0-1), rust-ppv-lite86 (= 0.2.16-1), rust-prost (= 0.11.9-1), rust-psa-crypto (= 0.9.2-3), rust-psa-crypto-sys (= 0.9.3-2), rust-rand-chacha (= 0.3.1-2), rust-rand-core (= 0.6.4-1), rust-rand (= 0.8.5-1), rust-regex-automata (= 0.4.3-1build2), rust-regex (= 1.10.2-2build2), rust-regex-syntax (= 0.8.2-1), rust-rusqlite (= 0.29.0-3), rust-sd-notify (= 0.4.1-2), rust-secrecy (= 0.8.0-1), rust-serde-bytes (= 0.11.12-1), rust-serde (= 1.0.195-1), rust-serde-spanned (= 0.6.4-1), rust-signal-hook (= 0.3.17-1), rust-signal-hook-registry (= 1.4.0-1), rust-smallvec (= 1.11.2-1), rust-smawk (= 0.3.1-2), rust-stable-deref-trait (= 1.2.0-1), rust-structopt (= 0.3.26-2), rust-termcolor (= 1.4.0-1), rust-textwrap (= 0.16.0-3), rust-threadpool (= 1.8.1-1), rust-toml-datetime (= 0.6.5-1), rust-toml (= 0.8.8-2), rust-toml-edit (= 0.21.0-2), rust-tss-esapi (= 7.4.0-1), rust-tss-esapi-sys (= 0.5.0-1), rust-unicode-linebreak (= 0.1.4-1), rust-unicode-width (= 0.1.11-1), rust-uuid (= 1.6.1-1), rust-winnow (= 0.5.15-1), rust-zeroize (= 1.6.1-1), rustc (= 1.75.0+dfsg0ubuntu1-0ubuntu1) 4. References on Ubuntu 24.04 LTS (Noble
2025-04-15