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 OCSPTokengetRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)This method retrieves aRevocationTokenfor the certificateToken
-
Method Details
-
getRevocationToken
OCSPToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)Description copied from interface:RevocationSourceThis method retrieves aRevocationTokenfor the certificateToken- Specified by:
getRevocationTokenin interfaceRevocationSource<OCSP>- Parameters:
certificateToken- TheCertificateTokenfor which the request is madeissuerCertificateToken- TheCertificateTokenwhich is the issuer of the certificateToken- Returns:
- an instance of
RevocationToken
-