Click or drag to resize
Pdf Library for .NET

PdfSecurityManagerSign Method (String, String, String, String, String, String)

Sign the pdf document with the specified certificate.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public void Sign(
	string certificateFileName,
	string certificatePassword,
	string signatureName,
	string reason,
	string location,
	string contactInfo
)

Parameters

certificateFileName
Type: SystemString
The full path to the existing certificate (PFX certificates only).
certificatePassword
Type: SystemString
Certificate password.
signatureName
Type: SystemString
The name of the signature.
reason
Type: SystemString
The reason of signing.
location
Type: SystemString
The location of signing.
contactInfo
Type: SystemString
The signer contact info (can be an email, phone number, address, etc.
Remarks
SelectPdf can only sign using .pfx certificates.
See Also