Interface OCSPSource
- All Superinterfaces:
RevocationSource<OCSP>
,Serializable
- All Known Implementing Classes:
JdbcCacheOCSPSource
,OnlineOCSPSource
public interface OCSPSource extends RevocationSource<OCSP>
Typed sub-interface which allows to collect
OCSPToken
. The validation
of a certificate may require the use of OCSP information. Theses information
can be provided by multiple sources (the signature itself, online OCSP
server, ...). This interface provides an abstraction for a source of OCSPResp-
Method Summary
Modifier and Type Method Description OCSPToken
getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
This method retrieves aRevocationToken
for the certificateToken
-
Method Details
-
getRevocationToken
OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)Description copied from interface:RevocationSource
This method retrieves aRevocationToken
for the certificateToken- Specified by:
getRevocationToken
in interfaceRevocationSource<OCSP>
- Parameters:
certificateToken
- TheCertificateToken
for which the request is madeissuerCertificateToken
- TheCertificateToken
which is the issuer of the certificateToken- Returns:
- an instance of
RevocationToken
-