Class CRLFirstRevocationDataLoadingStrategy
java.lang.Object
eu.europa.esig.dss.spi.validation.RevocationDataLoadingStrategy
eu.europa.esig.dss.spi.validation.CRLFirstRevocationDataLoadingStrategy
This class fetches firstly CRL response, if not available, tries OCSP and returns the first succeeded result
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.validation.RevocationDataLoadingStrategy
crlSource, fallbackEnabled, ocspSource, revocationDataVerifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRevocationToken
(CertificateToken certificateToken, CertificateToken issuerToken) This method retrieves aRevocationToken
for the given certificateTokenMethods inherited from class eu.europa.esig.dss.spi.validation.RevocationDataLoadingStrategy
checkCRL, checkOCSP, isAcceptableToken
-
Constructor Details
-
CRLFirstRevocationDataLoadingStrategy
public CRLFirstRevocationDataLoadingStrategy()Default constructor
-
-
Method Details
-
getRevocationToken
public RevocationToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerToken) Description copied from class:RevocationDataLoadingStrategy
This method retrieves aRevocationToken
for the given certificateToken- Specified by:
getRevocationToken
in classRevocationDataLoadingStrategy
- Parameters:
certificateToken
- TheCertificateToken
for which the request is madeissuerToken
- TheCertificateToken
which is the issuer of the certificateToken- Returns:
- an instance of
RevocationToken
-