PdfSecurityManagerPrepareExternalSignature(String, String, IListByte, String, String, String, String, Int32, RectangleF) Method |
Prepares a PDF document for a signature produced later, outside this call: the document is given a signature
field with an empty, reserved signature and written to preparedPdf, and the request to be
signed is returned.
Namespace: ExpertPdf.Anywhere.PDFSecurityAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic ExternalSigningRequest PrepareExternalSignature(
string sourcePdf,
string preparedPdf,
IList<byte[]> certificates,
string signatureName,
string reason,
string location,
string contactInfo,
int pageIndex,
RectangleF bounds
)
Public Function PrepareExternalSignature (
sourcePdf As String,
preparedPdf As String,
certificates As IList(Of Byte()),
signatureName As String,
reason As String,
location As String,
contactInfo As String,
pageIndex As Integer,
bounds As RectangleF
) As ExternalSigningRequest
Parameters
- sourcePdf String
- The PDF document full path. A password-protected source is opened with
SourcePdfPassword.
- preparedPdf String
- The full path of the prepared document.
- certificates IListByte
- The certificates of the signer, each DER-encoded: the signing certificate first, then
the certificates of its issuers.
- signatureName String
- The name of the signature; it identifies the signature when it is completed. An
empty signature field of that name that the document already has is used.
- reason String
- The reason of signing.
- location String
- The location of signing.
- contactInfo String
- The signer contact info.
- pageIndex Int32
- Index of the page where the signature will be added.
- bounds RectangleF
- Location within the specified page of the signature. An empty rectangle makes an invisible
signature.
Return Value
ExternalSigningRequestThe request to be signed with the signing certificate's private key.
Remarks
See Also