public class ValidationCrlClient extends Object implements ICrlClient
| Constructor and Description |
|---|
ValidationCrlClient()
Create new
ValidationCrlClient instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
addCrl(X509CRL response,
Date date,
TimeBasedContext context)
Add CRL response which is linked with generation date.
|
Map<X509CRL,RevocationDataValidator.CrlValidationInfo> |
getCrls()
Get all the CRL responses linked with generation dates.
|
Collection<byte[]> |
getEncoded(X509Certificate checkCert,
String url)
Gets an encoded byte array.
|
public ValidationCrlClient()
ValidationCrlClient instance.public void addCrl(X509CRL response, Date date, TimeBasedContext context)
response - X509CRL response to be addeddate - Date to be linked with the responsecontext - TimeBasedContext time based context which corresponds to generation datepublic Map<X509CRL,RevocationDataValidator.CrlValidationInfo> getCrls()
public Collection<byte[]> getEncoded(X509Certificate checkCert, String url) throws CertificateEncodingException
getEncoded in interface ICrlClientcheckCert - The certificate which a CRL URL can be obtained from.url - A CRL url if you don't want to obtain it from the certificate.CertificateEncodingException - if an encoding error occurs in X509Certificate.Copyright © 1998–2025 Apryse Group NV. All rights reserved.