Click or drag to resize
Pdf Library for .NET

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

Sign the pdf document with the specified certificate.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax
public void Sign(
	string certificateFileName,
	string certificatePassword,
	string signatureName,
	string reason,
	string location,
	string contactInfo,
	int pageIndex,
	RectangleF bounds,
	TimeStampAuthority timeStampAuthority
)

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.
timeStampAuthority
Type: SelectPdfTimeStampAuthority
TSA server details.
Remarks
SelectPdf can only sign using .pfx certificates.
See Also