PdfSecurityManagerSign Method |
Sign the pdf document with the specified certificate.
Namespace: ExpertPdf.PDFSecurityAssembly: epsecurepdf (in epsecurepdf.dll) Version: 9.0
Syntaxpublic void Sign(
string sourcePdf,
string destPdf,
string certificateFileName,
string certificatePassword,
string signatureName,
string reason,
string location,
string contactInfo,
int pageIndex,
RectangleF bounds,
TimeStampAuthority timeStampAuthority
)
Public Sub Sign (
sourcePdf As String,
destPdf As String,
certificateFileName As String,
certificatePassword As String,
signatureName As String,
reason As String,
location As String,
contactInfo As String,
pageIndex As Integer,
bounds As RectangleF,
timeStampAuthority As 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.
RemarksSelectPdf can only sign using .pfx certificates.
See Also