Click or drag to resize

PdfSecurityManagerSign Method

Sign the pdf document with the specified certificate.

Namespace: ExpertPdf.PDFSecurity
Assembly: epsecurepdf (in epsecurepdf.dll) Version: 9.0
Syntax
public void Sign(
	string sourcePdf,
	string destPdf,
	string certificateFileName,
	string certificatePassword,
	string signatureName,
	string reason,
	string location,
	string contactInfo,
	int pageIndex,
	RectangleF bounds,
	TimeStampAuthority timeStampAuthority
)

Parameters

sourcePdf  String
Source PDF. The file that will be signed.
destPdf  String
Destination PDF. The signed version of the file.
certificateFileName  String
The full path to the existing certificate (PFX certificates only).
certificatePassword  String
Certificate password.
signatureName  String
The name of the signature.
reason  String
The reason of signing.
location  String
The location of signing.
contactInfo  String
The signer contact info (can be an email, phone number, address, etc.
pageIndex  Int32
Index of the page where the signature will be added.
bounds  RectangleF
Location within the specified page of the signature.
timeStampAuthority  TimeStampAuthority
TSA server details.
Remarks
SelectPdf can only sign using .pfx certificates.
See Also