Click or drag to resize
Pdf Library for .NET

PdfSecurityManagerSign Method (String, String, String, String, String, String, Int32, RectangleF)

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,
	int pageIndex,
	RectangleF bounds
)

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.
pageIndex
Type: SystemInt32
Index of the page where the signature will be added.
bounds
Type: System.DrawingRectangleF
Location within the specified page of the signature.
Remarks
SelectPdf can only sign using .pfx certificates.
See Also