Click or drag to resize
Pdf Library for .NET

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

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

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.5
Syntax
public static byte[] CompleteExternalSignature(
	byte[] preparedDocument,
	string password,
	string signatureName,
	IList<byte[]> certificates,
	PdfSignatureDigest digestAlgorithm,
	byte[] signatureValue
)

Parameters

preparedDocument  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  PdfSignatureDigest
The hash algorithm the signature was prepared with.
signatureValue  Byte
The signature value over the prepared request's data.

Return Value

Byte
The bytes of the signed document.
See Also