This sample shows how to sign a PDF document with a key from AWS Key Management Service in C# and VB.NET.
Docotic.Pdf library allows you to use non-exportable keys
from AWS 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 AWS key. In real applications, you might want to use a CA signed certificate.