PdfSecurityManagerValidateSignatures(Byte, SignatureValidationOptions) Method |
Checks the signatures of a PDF document given as an array of bytes, with the specified options.
Namespace: ExpertPdf.Anywhere.PDFSecurityAssembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntaxpublic SignatureValidationResult[] ValidateSignatures(
byte[] pdfBytes,
SignatureValidationOptions options
)
Public Function ValidateSignatures (
pdfBytes As Byte(),
options As SignatureValidationOptions
) As SignatureValidationResult()
Parameters
- pdfBytes Byte
- The PDF document. A password protected document is opened with SourcePdfPassword.
- options SignatureValidationOptions
- The validation options. Null for the defaults.
Return Value
SignatureValidationResultOne result per signature, in the order of the signature fields. Empty when the document is not signed.
Exceptions| Exception | Condition |
|---|
| SecurePdfException | The bytes are not a PDF document, or the password is not valid. |
See Also