Click or drag to resize

PdfSecurityManagerCompleteExternalSignature(Byte, String, String, IListByte, SignatureDigest, Byte) Method

Writes the signature value into a prepared document held in memory and returns the signed document.

Namespace: ExpertPdf.Anywhere.PDFSecurity
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public static byte[] CompleteExternalSignature(
	byte[] preparedPdf,
	string password,
	string signatureName,
	IList<byte[]> certificates,
	SignatureDigest digestAlgorithm,
	byte[] signatureValue
)

Parameters

preparedPdf  Byte
The bytes of the prepared document.
password  String
The password that opens the prepared document, or null when it is not encrypted.
signatureName  String
The name the signature was prepared with.
certificates  IListByte
The certificates the signature was prepared with.
digestAlgorithm  SignatureDigest
The hash algorithm the signature was prepared with.
signatureValue  Byte
The signature value over the prepared request's data.

Return Value

Byte
The signed PDF document.
See Also