Class ValidationReport
java.lang.Object
com.itextpdf.signatures.validation.v1.report.ValidationReport
Validation report, which contains detailed validation results.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enum representing possible validation results. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addReportItem
(ReportItem item) Add new report item to the overall validation result.Get list of failures, which are related to certificate validation.Get list of log messages, which are related to certificate validation.Get all failures recognized during a validation process.getLogs()
Get all log messages reported during a validation process.Get the result of a validation process.toString()
-
Constructor Details
-
ValidationReport
public ValidationReport()Create new instance ofValidationReport
.
-
-
Method Details
-
getValidationResult
Get the result of a validation process.- Returns:
-
ValidationReport.ValidationResult
, which represents the result of a validation
-
getFailures
Get all failures recognized during a validation process.- Returns:
-
report items
List
, which contains all recognized failures
-
getCertificateFailures
Get list of failures, which are related to certificate validation.- Returns:
-
report items
List
, which contains onlyCertificateReportItem
failures
-
getLogs
Get all log messages reported during a validation process.- Returns:
-
report items
List
, which contains all reported log messages, related to validation
-
getCertificateLogs
Get list of log messages, which are related to certificate validation.- Returns:
-
report items
List
, which contains onlyCertificateReportItem
log messages
-
addReportItem
Add new report item to the overall validation result.- Parameters:
-
item
-ReportItem
to be added
-
toString
-