Class ExternalResourcesCRLSource
java.lang.Object
eu.europa.esig.dss.spi.x509.revocation.OfflineRevocationSource<CRL>
eu.europa.esig.dss.spi.x509.revocation.crl.OfflineCRLSource
eu.europa.esig.dss.spi.x509.revocation.crl.ExternalResourcesCRLSource
- All Implemented Interfaces:
MultipleRevocationSource<CRL>
,RevocationSource<CRL>
,Serializable
This class allows to provide a CRL source based on the list of external CRL(s).
- See Also:
-
Constructor Summary
ConstructorDescriptionExternalResourcesCRLSource
(DSSDocument... dssDocuments) This constructor allows building of a CRL source from an array ofDSSDocument
s.ExternalResourcesCRLSource
(InputStream... inputStreams) This constructor allows building of a CRL source from an array ofInputStream
s.ExternalResourcesCRLSource
(String... paths) This constructor allows building of a CRL source from an array of resource paths. -
Method Summary
Modifier and TypeMethodDescriptiongetRevocationTokens
(CertificateToken certificate, CertificateToken issuer) This method retrieves a list ofRevocationToken
for the certificateTokenMethods inherited from class eu.europa.esig.dss.spi.x509.revocation.OfflineRevocationSource
addBinary, addRevocation, addRevocation, addRevocationReference, findBinaryForReference, findRefsAndOriginsForBinary, findRefsAndOriginsForRevocationToken, getADBERevocationValuesBinaries, getADBERevocationValuesTokens, getAllReferencedRevocationBinaries, getAllRevocationBinaries, getAllRevocationBinariesWithOrigins, getAllRevocationReferences, getAllRevocationTokens, getAllRevocationTokensWithOrigins, getAttributeRevocationRefs, getAttributeRevocationValuesBinaries, getAttributeRevocationValuesTokens, getCMSSignedDataRevocationBinaries, getCMSSignedDataRevocationTokens, getCompleteRevocationRefs, getDSSDictionaryBinaries, getDSSDictionaryTokens, getOrphanRevocationReferencesWithOrigins, getRevocationReferencesWithOrigins, getRevocationToken, getRevocationValuesBinaries, getRevocationValuesTokens, getTimestampValidationDataBinaries, getTimestampValidationDataTokens, getUniqueRevocationTokensWithOrigins, getVRIDictionaryBinaries, getVRIDictionaryTokens, isEmpty, isOrphan
-
Constructor Details
-
ExternalResourcesCRLSource
This constructor allows building of a CRL source from an array of resource paths.- Parameters:
paths
- paths to be loaded as CRL
-
ExternalResourcesCRLSource
This constructor allows building of a CRL source from an array ofInputStream
s.- Parameters:
inputStreams
- an array ofInputStream
s to be loaded as CRL
-
ExternalResourcesCRLSource
This constructor allows building of a CRL source from an array ofDSSDocument
s.- Parameters:
dssDocuments
- an array ofDSSDocument
s to be loaded as CRL
-
-
Method Details
-
getRevocationTokens
public List<RevocationToken<CRL>> getRevocationTokens(CertificateToken certificate, CertificateToken issuer) Description copied from interface:MultipleRevocationSource
This method retrieves a list ofRevocationToken
for the certificateToken- Specified by:
getRevocationTokens
in interfaceMultipleRevocationSource<CRL>
- Overrides:
getRevocationTokens
in classOfflineCRLSource
- Parameters:
certificate
- TheCertificateToken
for which the request is madeissuer
- TheCertificateToken
which is the issuer of the certificateToken- Returns:
- a list of
RevocationToken
-