 |
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.UniversalAssembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.5
Syntaxpublic static byte[] CompleteExternalSignature(
byte[] preparedDocument,
string password,
string signatureName,
IList<byte[]> certificates,
PdfSignatureDigest digestAlgorithm,
byte[] signatureValue
)
Public Shared Function CompleteExternalSignature (
preparedDocument As Byte(),
password As String,
signatureName As String,
certificates As IList(Of Byte()),
digestAlgorithm As PdfSignatureDigest,
signatureValue As Byte()
) As Byte()
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
ByteThe bytes of the signed document.
See Also