 |
PdfSecurityManagerSign(String, String, String, String, String, String, Int32, RectangleF, TimeStampAuthority) Method |
Signs the PDF document and, optionally, timestamps it via the specified time-stamp authority.
Namespace: SelectPdf.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntaxpublic void Sign(
string certificateFileName,
string certificatePassword,
string signatureName,
string reason,
string location,
string contactInfo,
int pageIndex,
RectangleF bounds,
TimeStampAuthority timeStampAuthority
)
Public Sub Sign (
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
- certificateFileName String
- The full path to the PFX certificate.
- certificatePassword String
- The certificate password.
- signatureName String
- The name of the signature field.
- reason String
- The reason for signing.
- location String
- The location where the document is signed.
- contactInfo String
- The contact information of the signer.
- pageIndex Int32
- The zero-based index of the page to place the visible signature on.
- bounds RectangleF
- The rectangle of the visible signature, in points.
- timeStampAuthority TimeStampAuthority
- The time-stamp authority used to timestamp the signature, or null.
See Also