Skip to content

Files

Latest commit

28aeb2e · Dec 23, 2024

History

History

SignWithAzureKeyVault

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Dec 23, 2024
Dec 23, 2024
Oct 17, 2024

Sign PDF document using Azure Key Vault

This sample shows how to sign a PDF document with a key from Azure Key Vault in C# and VB.NET.

Docotic.Pdf library allows you to use non-exportable keys from Azure to sign PDF documents. You need to implement IPdfSigner interface and use it in PdfSigningOptions.

This sample code automatically generates self-signed certificate for the provided Azure key. In real applications, you might want to use a CA signed certificate. You can also load a certificate from Key Vault secrets or Key Vault certificates.

See also