PdfSecurityManagerValidateSignatures(String, SignatureValidationOptions) Method |
Checks the signatures of a PDF document with the specified options (online revocation check, additional
trusted root certificates).
Namespace: ExpertPdf.PDFSecurityAssembly: epsecurepdf (in epsecurepdf.dll) Version: 10.0
Syntaxpublic SignatureValidationResult[] ValidateSignatures(
string pdfFile,
SignatureValidationOptions options
)
Public Function ValidateSignatures (
pdfFile As String,
options As SignatureValidationOptions
) As SignatureValidationResult()
Parameters
- pdfFile String
- The PDF document full path. 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 file cannot be read, it is not a PDF document, or the password is not valid. |
See Also