Click or drag to resize
Pdf Library for .NET

PdfSecurityManagerValidateSignatures Method

Validates every digital signature of the loaded document, trusting the certificates in the system's trusted store.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public PdfSignatureValidationResult[] ValidateSignatures()

Return Value

PdfSignatureValidationResult
One result per signature, in the order of the document's signature fields; empty when the document is not signed.
Remarks

Each signature is checked against the bytes it was made over, so a signature followed by content added later - another signature, a form fill - is reported intact, with CoversWholeDocument false. The document is validated as it was loaded; changes made through this manager since do not affect the result.

Validating does not change the document.

See Also