Namespace IronSoftware.Pdfium.Signing
Classes
AHsmSigner
ExternalSigner
Signs PDF documents with a key held by an external signing service, such as Azure Key Vault or a cloud HSM, through an IExternalSignatureProvider. The private key never leaves the service.
Use with the IronPdf signing methods that accept an IHsmSigner. Set TimeStampUrl
to embed an RFC 3161 timestamp.
The signing certificate and chain are read from the provider once, when the signer is created. Create a new signer after the certificate or key changes. Signing fails if the certificate is expired or not yet valid.
The LibraryPath, UserPin and TokenLabel properties do not apply to this signer.
Pkcs11SignatureFactory
TimestampException
Thrown when an RFC 3161 timestamp cannot be obtained or embedded while signing with an HSM, or when the resulting (optionally time-stamped) signature does not fit within the reserved signature placeholder. Lets callers catch timestamp specific failures without swallowing every exception.
UsbPkcs11HsmSigner
Interfaces
IExternalSignatureProvider
Supplies the certificate and the signing operation for an ExternalSigner. Implement this to sign with a key held by an external service, such as Azure Key Vault or a cloud HSM. The private key is never required.