PdfSecurityManagerPrepareExternalSignature(Stream, Stream, IListByte, String, String, String, String, Int32, RectangleF) Method |
Prepares a PDF document read from a stream for a signature produced later, and writes the prepared document to
another stream.
Namespace: ExpertPdf.Anywhere.PDFSecurityAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic ExternalSigningRequest PrepareExternalSignature(
Stream sourcePdf,
Stream preparedPdf,
IList<byte[]> certificates,
string signatureName,
string reason,
string location,
string contactInfo,
int pageIndex,
RectangleF bounds
)
Public Function PrepareExternalSignature (
sourcePdf As Stream,
preparedPdf As Stream,
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 Stream
- The stream with the PDF document.
- preparedPdf Stream
- The stream that receives the prepared document.
- certificates IListByte
- The certificates of the signer, each DER-encoded: the signing certificate first.
- signatureName String
- The name of the signature; it identifies the signature when it is completed.
- 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.
Return Value
ExternalSigningRequestThe request to be signed with the signing certificate's private key.
See Also