Interface RevocationSource<R extends Revocation>
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
CRLSource,OCSPSource,OnlineRevocationSource<R>,RevocationSourceAlternateUrlsSupport<R>
- All Known Implementing Classes:
AlternateUrlsSourceAdapter,JdbcCacheCRLSource,JdbcCacheOCSPSource,JdbcRevocationSource,OCSPAndCRLRevocationSource,OnlineCRLSource,OnlineOCSPSource,RepositoryRevocationSource
public interface RevocationSource<R extends Revocation> extends Serializable
This interface allows to retrieve revocation data for a given certificate.
Several implementations are available based on CRL and OCSP.
-
Method Summary
Modifier and Type Method Description RevocationToken<R>getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)This method retrieves aRevocationTokenfor the certificateToken
-
Method Details
-
getRevocationToken
RevocationToken<R> getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)This method retrieves aRevocationTokenfor the certificateToken- Parameters:
certificateToken- TheCertificateTokenfor which the request is madeissuerCertificateToken- TheCertificateTokenwhich is the issuer of the certificateToken- Returns:
- an instance of
RevocationToken
-