IRONSOFTWAREHOME

Digital Signature Support: CSP and CNG

Curtis Chau
Curtis Chau
Updated: July 7, 2026

IronPDF can digitally sign PDF documents in .NET applications, but the kind of certificate it supports is currently limited. Knowing which signature types work today helps you plan an integration around them.

Supported today: CSP-based signatures

IronPDF signs using certificates based on Microsoft's legacy Cryptographic Service Provider (CSP) model:

  • Signing: PDF documents can be signed with a CSP-based PFX file using RSA keys, through IronPDF's Sign() method.
  • Verifying: signatures created in this legacy format can be verified.

CSP is an older cryptographic framework that supports traditional algorithms like RSA but lacks modern extensibility.

Not yet supported: CNG-based signatures

Microsoft introduced Cryptography Next Generation (CNG) with Windows Vista and Windows Server 2008 to replace CSP, adding modern algorithms such as ECDSA and a more flexible API. As of IronPDF v2025.06.08, CNG-based digital signatures are not supported.

Using a CNG certificate raises a specific error:

  • ECDSA: throws certificate key algorithm not supported.
  • RSA via CNG: throws requested operation not supported.

These occur because the current signing implementation does not integrate with Microsoft's CNG key storage provider and API.

What CNG is

CNG is Microsoft's modern cryptographic framework, the successor to the older CryptoAPI and CSP system. It supports algorithms like RSA, ECDSA, SHA-256, and SHA-384, allows pluggable cryptographic providers, and underpins Windows features such as BitLocker, TPM, and Windows Hello.

Roadmap

Iron Software is reviewing CNG support for a future release. The goals are to enable CNG-based RSA and ECDSA certificates, work with the Windows Certificate Store and CNG key storage providers, and pass signing and verification against industry-standard tools and the PDF signature specification.

Curtis Chau
Technical Writer

Curtis Chau holds a Bachelor’s degree in Computer Science (Carleton University) and specializes in front-end development with expertise in Node.js, TypeScript, JavaScript, and React. Passionate about crafting intuitive and aesthetically pleasing user interfaces, Curtis enjoys working with modern frameworks and creating well-structured, visually appealing manuals.

...
Read More

Ready to Get Started?

Nuget Downloads 21,105,021Version:2026.9just released

Get your free 30-day Trial Key instantly.
No credit card or account creation required
C# NuGet Library for PDF
Install with NuGet

Version: 2026.9

PM > Install-Package IronPdf
nuget.org/packages/IronPdf/
  1. In Solution Explorer, right-click References, Manage NuGet Packages
  2. Select Browse and search "IronPdf"
  3. Select the package and install
C# PDF DLL
Download DLL

Version: 2026.9

or download Windows Installer here.

  1. Download and unzip IronPDF to a location such as ~/Libs within your Solution directory
  2. In Visual Studio Solution Explorer, right click References. Select Browse, "IronPdf.dll"

Licenses from $999

Key in blue circle

Get your free 30-day Trial Key instantly.

Your trial license will be sent to your email address

No limitations. 100% unlocked. No credit card.

OR
bullet_checkedNo credit card or account creation requiredNo limitations. 100% unlocked. No credit card.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried Iron Suite
Book your free Live Demo
Booking Badge

Trusted by Millions of Engineers Worldwide

Iron Software's customer logos
Get Your No-Obligation Consult
Complete the form below or email sales@ironsoftware.com
Your details will always be kept confidential.
Trusted by Millions of Engineers Worldwide
Iron Software's customer logos
Get your free 30-day Trial Key instantly.
No credit card or account creation required
C# NuGet Library for PDF
Install with NuGet

Version: 2026.9

PM > Install-Package IronPdf
nuget.org/packages/IronPdf/
  1. In Solution Explorer, right-click References, Manage NuGet Packages
  2. Select Browse and search "IronPdf"
  3. Select the package and install
C# PDF DLL
Download DLL

Version: 2026.9

or download Windows Installer here.

  1. Download and unzip IronPDF to a location such as ~/Libs within your Solution directory
  2. In Visual Studio Solution Explorer, right click References. Select Browse, "IronPdf.dll"

Licenses from $999