Class SignatureValidator
java.lang.Object
com.itextpdf.signatures.validation.v1.SignatureValidator
Validator class, which is expected to be used for signatures validation.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
SignatureValidator
(PdfDocument originalDocument, ValidatorChainBuilder builder) Creates new instance ofSignatureValidator
. -
Method Summary
Modifier and TypeMethodDescriptionsetEventCountingMetaInfo
(IMetaInfo metaInfo) Sets theIMetaInfo
that will be used during newPdfDocument
creations.Validate all signatures in the document.
-
Field Details
-
VALIDATING_SIGNATURE_NAME
- See Also:
-
-
Constructor Details
-
SignatureValidator
Creates new instance ofSignatureValidator
.- Parameters:
-
originalDocument
-PdfDocument
instance which will be validated -
builder
- seeValidatorChainBuilder
-
-
Method Details
-
setEventCountingMetaInfo
Sets theIMetaInfo
that will be used during newPdfDocument
creations.- Parameters:
-
metaInfo
- meta info to set - Returns:
-
the same
SignatureValidator
instance
-
validateSignatures
Validate all signatures in the document.- Returns:
-
ValidationReport
which contains detailed validation results
-