Package eu.europa.esig.dss.spi.x509.aia
Class CompositeAIASource
java.lang.Object
eu.europa.esig.dss.spi.x509.aia.CompositeAIASource
- All Implemented Interfaces:
AIASource
,Serializable
This class allows to retrieve a AIA with different sources. The composite will try all sources until to get a
non-empty response.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null values -
Method Summary
Modifier and TypeMethodDescriptiongetCertificatesByAIA
(CertificateToken certificateToken) Loads a set ofCertificateToken
s accessed by AIA URIs from the providedcertificateToken
void
setAIASources
(Map<String, AIASource> aIASource) This setter allows to provide multiple aIASource.
-
Constructor Details
-
CompositeAIASource
public CompositeAIASource()Default constructor instantiating object with null values
-
-
Method Details
-
setAIASources
-
getCertificatesByAIA
Description copied from interface:AIASource
Loads a set ofCertificateToken
s accessed by AIA URIs from the providedcertificateToken
- Specified by:
getCertificatesByAIA
in interfaceAIASource
- Parameters:
certificateToken
-CertificateToken
to get issuer candidates for- Returns:
- a set of issuer candidates accessed by AIA URIs
-