Table of Contents

Constructor PdfSigningOptions

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

PdfSigningOptions(string, string)

Creates a new signing options instance using specified key store file.

public PdfSigningOptions(string path, string password)

Parameters

path string

Path to PFX / PKCS #12 file used for signing.

password string

The password to read the key store file.

Remarks

PFX files are expected to have .pfx extension. PKCS #12 files are expected to have .p12 extension.

The Sign PDF documents in C# and VB.NET article describes how to apply digital signatures to PDF documents.

PdfSigningOptions(Stream, string)

Creates a new signing options instance using specified stream with key store contents.

public PdfSigningOptions(Stream stream, string password)

Parameters

stream Stream

Stream with PFX / PKCS #12 contents used for signing.

password string

The password to read the key store stream.

Remarks

The Sign PDF documents in C# and VB.NET article describes how to apply digital signatures to PDF documents.

PdfSigningOptions(IPdfSigner, X509Certificate2[])

Creates a new signing options instance using a custom signer.

public PdfSigningOptions(IPdfSigner signer, X509Certificate2[] chain)

Parameters

signer IPdfSigner

The signer.

chain X509Certificate2[]

The certificate chain.

Remarks

The Sign PDF documents in C# and VB.NET article describes how to apply digital signatures to PDF documents.