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.PDFSecurityAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic static byte[] CompleteExternalSignature(
byte[] preparedPdf,
string password,
string signatureName,
IList<byte[]> certificates,
SignatureDigest digestAlgorithm,
byte[] signatureValue
)
Public Shared Function CompleteExternalSignature (
preparedPdf As Byte(),
password As String,
signatureName As String,
certificates As IList(Of Byte()),
digestAlgorithm As SignatureDigest,
signatureValue As Byte()
) As Byte()
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
ByteThe signed PDF document.
See Also