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
stringPath to PFX / PKCS #12 file used for signing.
password
stringThe 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
StreamStream with PFX / PKCS #12 contents used for signing.
password
stringThe 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
IPdfSignerThe 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.