Interface OnlineRevocationSource<R extends Revocation>
- Type Parameters:
R- implementation ofRevocation(CRL or OCSP) for the current revocation source
- All Superinterfaces:
RevocationSource<R>,Serializable
- All Known Implementing Classes:
OnlineCRLSource,OnlineOCSPSource
Sub-interface for online sources of
RevocationTokens-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThis class represents an online revocation source reply, containing the extractedRevocationTokenand the URLStringused to download the token from -
Method Summary
Modifier and TypeMethodDescriptiongetRevocationTokenAndUrl(CertificateToken certificateToken, CertificateToken issuerToken) This method retrieves aRevocationTokenAndUrlfor the certificateTokenvoidsetDataLoader(DataLoader dataLoader) Set the DataLoader to use for querying a revocation server.Methods inherited from interface eu.europa.esig.dss.spi.x509.revocation.RevocationSource
getRevocationToken
-
Method Details
-
setDataLoader
Set the DataLoader to use for querying a revocation server.- Parameters:
dataLoader- the component that allows to retrieve a revocation response using HTTP.
-
getRevocationTokenAndUrl
OnlineRevocationSource.RevocationTokenAndUrl<R> getRevocationTokenAndUrl(CertificateToken certificateToken, CertificateToken issuerToken) This method retrieves aRevocationTokenAndUrlfor the certificateToken- Parameters:
certificateToken- TheCertificateTokenfor which the request is madeissuerToken- TheCertificateTokenwhich is the issuer of the certificateToken- Returns:
- an instance of
RevocationTokenAndUrl
-