Package eu.europa.esig.dss.validation
Class ListCRLSource
java.lang.Object
eu.europa.esig.dss.validation.ListCRLSource
- All Implemented Interfaces:
CRLSource
,RevocationSource<CRLToken>
,Serializable
public class ListCRLSource extends Object implements CRLSource
This class allows to handle a list CRL source.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ListCRLSource()
This is the constructor for this class, it allows to instantiate the list which will contain allX509CRL
.ListCRLSource(OfflineCRLSource crlSource)
This constructor allows to initialize the list with aOfflineCRLSource
. -
Method Summary
Modifier and Type Method Description void
add(OfflineCRLSource crlSource)
void
addAll(ListCRLSource listCRLSource)
void
addAll(List<OfflineCRLSource> crlSources)
List<CRLRef>
findRefsForRevocationToken(CRLToken revocationToken)
Set<CRLToken>
getAllCRLTokens()
List<CRLBinary>
getCRLBinaryList()
CRLRef
getCRLRefByDigest(Digest refDigest)
CRLBinary
getIdentifier(Digest refDigest)
List<CRLRef>
getOrphanCrlRefs()
List<CRLRef>
getReferencesForCRLIdentifier(CRLBinary revocationIdentifier)
Set<RevocationOrigin>
getRevocationOrigins(CRLBinary crlBinary)
CRLToken
getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)
This method retrieves aRevocationToken
for the certificateTokenList<OfflineCRLSource>
getSources()
boolean
isEmpty()
-
Constructor Details
-
ListCRLSource
public ListCRLSource()This is the constructor for this class, it allows to instantiate the list which will contain allX509CRL
. -
ListCRLSource
This constructor allows to initialize the list with aOfflineCRLSource
.- Parameters:
crlSource
- an offline crl source
-
-
Method Details
-
add
-
addAll
-
addAll
-
getSources
-
isEmpty
public boolean isEmpty() -
getRevocationOrigins
-
getAllCRLTokens
-
findRefsForRevocationToken
-
getReferencesForCRLIdentifier
-
getOrphanCrlRefs
-
getCRLBinaryList
-
getCRLRefByDigest
-
getIdentifier
-
getRevocationToken
public CRLToken getRevocationToken(CertificateToken certificateToken, CertificateToken issuerCertificateToken)Description copied from interface:RevocationSource
This method retrieves aRevocationToken
for the certificateToken- Specified by:
getRevocationToken
in interfaceRevocationSource<CRLToken>
- Parameters:
certificateToken
- TheCertificateToken
for which the request is madeissuerCertificateToken
- TheCertificateToken
which is the issuer of the certificateToken- Returns:
- an instance of
RevocationToken
-