Click or drag to resize

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.PDFSecurity
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public ExternalSigningRequest PrepareExternalSignature(
	Stream sourcePdf,
	Stream preparedPdf,
	IList<byte[]> certificates,
	string signatureName,
	string reason,
	string location,
	string contactInfo,
	int pageIndex,
	RectangleF bounds
)

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

ExternalSigningRequest
The request to be signed with the signing certificate's private key.
See Also