| Package | Description |
|---|---|
| com.itextpdf.signatures.validation | |
| com.itextpdf.signatures.validation.lotl | |
| com.itextpdf.signatures.validation.report |
| Modifier and Type | Method and Description |
|---|---|
ValidationReport |
CertificateChainValidator.validate(ValidationReport result,
ValidationContext context,
X509Certificate certificate,
Date validationDate)
Validate given certificate using provided validation date and required extensions.
|
ValidationReport |
DocumentRevisionsValidator.validateAllDocumentRevisions(ValidationContext context,
PdfDocument document)
Validate all document revisions according to docMDP and fieldMDP transform methods.
|
ValidationReport |
CertificateChainValidator.validateCertificate(ValidationContext context,
X509Certificate certificate,
Date validationDate)
Validate given certificate using provided validation date and required extensions.
|
ValidationReport |
SignatureValidator.validateSignature(String signatureName)
Validate single signature in the document.
|
ValidationReport |
SignatureValidator.validateSignatures()
Validate all signatures in the document.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SafeCalling.onExceptionLog(com.itextpdf.commons.utils.ThrowingAction action,
ValidationReport report,
Function<Exception,ReportItem> reportItemCreator)
Adds a report item to the report when an exception is thrown in the action.
|
static <T> T |
SafeCalling.onExceptionLog(com.itextpdf.commons.utils.ThrowingSupplier<T> action,
T defaultValue,
ValidationReport report,
Function<Exception,ReportItem> reportItemCreator)
Adds a report item to the report when an exception is thrown in the action.
|
static void |
SafeCalling.onRuntimeExceptionLog(com.itextpdf.commons.utils.Action action,
ValidationReport report,
Function<Exception,ReportItem> reportItemCreator)
Adds a report item to the report when an exception is thrown in the action.
|
static <T> T |
SafeCalling.onRuntimeExceptionLog(Supplier<T> action,
T defaultValue,
ValidationReport report,
Function<Exception,ReportItem> reportItemCreator)
Adds a report item to the report when an exception is thrown in the action.
|
void |
RevocationDataValidator.validate(ValidationReport report,
ValidationContext context,
X509Certificate certificate,
Date validationDate)
Validates revocation data (Certificate Revocation List (CRL) Responses and OCSP Responses) of the certificate.
|
ValidationReport |
CertificateChainValidator.validate(ValidationReport result,
ValidationContext context,
X509Certificate certificate,
Date validationDate)
Validate given certificate using provided validation date and required extensions.
|
void |
OCSPValidator.validate(ValidationReport report,
ValidationContext context,
X509Certificate certificate,
com.itextpdf.commons.bouncycastle.cert.ocsp.ISingleResp singleResp,
com.itextpdf.commons.bouncycastle.cert.ocsp.IBasicOCSPResp ocspResp,
Date validationDate,
Date responseGenerationDate)
Validates a certificate against single OCSP Response.
|
void |
CRLValidator.validate(ValidationReport report,
ValidationContext context,
X509Certificate certificate,
X509CRL crl,
Date validationDate,
Date responseGenerationDate)
Validates a certificate against Certificate Revocation List (CRL) Responses.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationReport |
EuropeanResourceFetcher.Result.getLocalReport()
Gets the list of report items.
|
ValidationReport |
EuropeanLotlFetcher.Result.getLocalReport()
Gets the list of report items generated during the fetching process.
|
ValidationReport |
PivotFetcher.Result.getLocalReport()
Gets the local validation report.
|
ValidationReport |
CountrySpecificLotlFetcher.Result.getLocalReport()
Gets the local validation report.
|
ValidationReport |
LotlValidator.validate()
Validates the List of Trusted Lists (Lotl) and retrieves national trusted certificates.
|
protected ValidationReport |
XmlSignatureValidator.validate(InputStream xmlDocumentInputStream)
Validates provided XML Lotl file.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LotlTrustedStore.checkIfCertIsTrusted(ValidationReport result,
ValidationContext context,
X509Certificate certificate,
Date validationDate)
Checks if given certificate is trusted according to context and time in which it is used.
|
void |
PivotFetcher.Result.setLocalReport(ValidationReport localReport)
Sets the local validation report.
|
void |
CountrySpecificLotlFetcher.Result.setLocalReport(ValidationReport localReport)
Sets the local validation report.
|
| Modifier and Type | Method and Description |
|---|---|
ValidationReport |
ValidationReport.merge(ValidationReport subReport)
Merge all
ReportItem objects from sub report into this one. |
ValidationReport |
ValidationReport.mergeWithDifferentStatus(ValidationReport subReport,
ReportItem.ReportItemStatus newStatus)
Merge all
ReportItem objects from sub report into this one with different status. |
| Modifier and Type | Method and Description |
|---|---|
ValidationReport |
ValidationReport.merge(ValidationReport subReport)
Merge all
ReportItem objects from sub report into this one. |
ValidationReport |
ValidationReport.mergeWithDifferentStatus(ValidationReport subReport,
ReportItem.ReportItemStatus newStatus)
Merge all
ReportItem objects from sub report into this one with different status. |
Copyright © 1998–2025 Apryse Group NV. All rights reserved.