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
RevocationToken
s-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
This class represents an online revocation source reply, containing the extractedRevocationToken
and the URLString
used to download the token from -
Method Summary
Modifier and TypeMethodDescriptiongetRevocationTokenAndUrl
(CertificateToken certificateToken, CertificateToken issuerToken) This method retrieves aRevocationTokenAndUrl
for the certificateTokenvoid
setDataLoader
(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 aRevocationTokenAndUrl
for the certificateToken- Parameters:
certificateToken
- TheCertificateToken
for which the request is madeissuerToken
- TheCertificateToken
which is the issuer of the certificateToken- Returns:
- an instance of
RevocationTokenAndUrl
-