Click or drag to resize
Pdf Library for .NET

PdfSecurityManagerPrepareExternalSignature(IListByte, String, String, String, String, Int32, RectangleF) Method

Prepares the PDF document for a signature produced later, recording the reason, location and contact info and placing a visible signature on the given page.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.5
Syntax
public PdfExternalSigningRequest PrepareExternalSignature(
	IList<byte[]> certificates,
	string signatureName,
	string reason,
	string location,
	string contactInfo,
	int pageIndex,
	RectangleF bounds
)

Parameters

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 field; it identifies the signature when it is completed.
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.

Return Value

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