public class RevocationDataValidator extends Object
| Modifier and Type | Method and Description |
|---|---|
RevocationDataValidator |
addCrlClient(ICrlClient crlClient)
Add
ICrlClient to be used for CRL responses receiving. |
RevocationDataValidator |
addOcspClient(IOcspClient ocspClient)
Add
IOcspClient to be used for OCSP responses receiving. |
void |
validate(ValidationReport report,
ValidationContext context,
X509Certificate certificate,
Date validationDate)
Validates revocation data (Certificate Revocation List (CRL) Responses and OCSP Responses) of the certificate.
|
public RevocationDataValidator addCrlClient(ICrlClient crlClient)
ICrlClient to be used for CRL responses receiving.crlClient - ICrlClient to be used for CRL responses receivingRevocationDataValidator.public RevocationDataValidator addOcspClient(IOcspClient ocspClient)
IOcspClient to be used for OCSP responses receiving.ocspClient - IOcspClient to be used for OCSP responses receivingRevocationDataValidator.public void validate(ValidationReport report, ValidationContext context, X509Certificate certificate, Date validationDate)
report - to store all the verification resultscontext - ValidationContext the contextcertificate - the certificate to check revocation data forvalidationDate - validation date to check forCopyright © 1998–2024 Apryse Group NV. All rights reserved.