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
ConstructorsConstructorDescriptionExternalResourcesCRLSource(DSSDocument... dssDocuments) This constructor allows building of a CRL source from an array ofDSSDocuments.ExternalResourcesCRLSource(InputStream... inputStreams) This constructor allows building of a CRL source from an array ofInputStreams.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 ofRevocationTokenfor 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 ofInputStreams.- Parameters:
inputStreams- an array ofInputStreams to be loaded as CRL
-
ExternalResourcesCRLSource
This constructor allows building of a CRL source from an array ofDSSDocuments.- Parameters:
dssDocuments- an array ofDSSDocuments to be loaded as CRL
-
-
Method Details
-
getRevocationTokens
public List<RevocationToken<CRL>> getRevocationTokens(CertificateToken certificate, CertificateToken issuer) Description copied from interface:MultipleRevocationSourceThis method retrieves a list ofRevocationTokenfor the certificateToken- Specified by:
getRevocationTokensin interfaceMultipleRevocationSource<CRL>- Overrides:
getRevocationTokensin classOfflineCRLSource- Parameters:
certificate- TheCertificateTokenfor which the request is madeissuer- TheCertificateTokenwhich is the issuer of the certificateToken- Returns:
- a list of
RevocationToken
-