- All Superinterfaces:
RevocationSource<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP>,Serializable
public interface OCSPSource
extends RevocationSource<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP>
Typed sub-interface which allows collection of
OCSPToken(s). The validation
of a certificate may require the use of OCSP information. This 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 TypeMethodDescriptiongetRevocationToken(eu.europa.esig.dss.model.x509.CertificateToken certificateToken, eu.europa.esig.dss.model.x509.CertificateToken issuerCertificateToken) This method retrieves aRevocationTokenfor the certificateToken
-
Method Details
-
getRevocationToken
OCSPToken getRevocationToken(eu.europa.esig.dss.model.x509.CertificateToken certificateToken, eu.europa.esig.dss.model.x509.CertificateToken issuerCertificateToken) Description copied from interface:RevocationSourceThis method retrieves aRevocationTokenfor the certificateToken- Specified by:
getRevocationTokenin interfaceRevocationSource<eu.europa.esig.dss.model.x509.revocation.ocsp.OCSP>- Parameters:
certificateToken- TheCertificateTokenfor which the request is madeissuerCertificateToken- TheCertificateTokenwhich is the issuer of the certificateToken- Returns:
- an instance of
RevocationToken
-