public class OCSPValidator extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
OCSPValidator(ValidatorChainBuilder builder)
Creates new
OCSPValidator instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
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.
|
protected OCSPValidator(ValidatorChainBuilder builder)
OCSPValidator instance.builder - See ValidatorChainBuilderpublic void 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)
report - to store all the chain verification resultscontext - the context in which to perform the validationcertificate - the certificate to check forsingleResp - single response to checkocspResp - basic OCSP response which contains single response to checkvalidationDate - validation date to check forresponseGenerationDate - trusted date at which response is generatedCopyright © 1998–2025 Apryse Group NV. All rights reserved.