Skip to content

geumjaLee/Sign-PDF-documents-with-a-certificate-stored-on-a-hardware-device

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Document API - Sign a PDF document with a certificate stored on a hardware device

The DevExpress PDF Document API library allows you to retrieve a certificate from a hardware device (such as Windows certificate store, SmartCard, USB Token). This example demonstrates how to use a certificate stored on a user's machine. You can also adapt this solution to sign documents using certificates from any physical store.

Implementation Details

First, you need to obtain a certificate from a Windows certificate store. In this example, the System.Security.Cryptography.X509Certificates.X509Certificate2UI class is used to display a system dialog. This dialog allows you to view and select an X.509 certificate. Create a Pkcs7Signer object and pass the retrieved certificate to the object constructor. Use this class to sign a PDF document.

Files to Look At

Documentation

More Examples

About

Sign a PDF document using a certificate stored on a hardware device

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 51.4%
  • Visual Basic .NET 48.6%