Class CompositeAIASource

java.lang.Object
eu.europa.esig.dss.spi.x509.aia.CompositeAIASource
All Implemented Interfaces:
AIASource, Serializable

public class CompositeAIASource extends Object implements AIASource
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 Details

    • CompositeAIASource

      public CompositeAIASource()
      Default constructor instantiating object with null values
  • Method Details

    • setAIASources

      public void setAIASources(Map<String,AIASource> aIASource)
      This setter allows to provide multiple aIASource. Be careful, all given aIASource MUST accept the same digest algorithm.
      Parameters:
      aIASource - a Map of String and AIASource with a label and its corresponding source
    • getCertificatesByAIA

      public Set<CertificateToken> getCertificatesByAIA(CertificateToken certificateToken)
      Description copied from interface: AIASource
      Loads a set of CertificateTokens accessed by AIA URIs from the provided certificateToken
      Specified by:
      getCertificatesByAIA in interface AIASource
      Parameters:
      certificateToken - CertificateToken to get issuer candidates for
      Returns:
      a set of issuer candidates accessed by AIA URIs