Class XmlTrustedServiceProviderBuilder

java.lang.Object
eu.europa.esig.dss.validation.XmlTrustedServiceProviderBuilder

public class XmlTrustedServiceProviderBuilder extends Object
This class is used to build a XmlTrustedServiceProvider object instance
  • Constructor Summary

    Constructors
    Constructor
    Description
    XmlTrustedServiceProviderBuilder(Map<String,eu.europa.esig.dss.diagnostic.jaxb.XmlCertificate> xmlCertsMap, Map<String,eu.europa.esig.dss.diagnostic.jaxb.XmlTrustedList> xmlTrustedListsMap, Map<String,TLInfo> tlInfoMap)
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    List<eu.europa.esig.dss.diagnostic.jaxb.XmlTrustedServiceProvider>
    build(eu.europa.esig.dss.model.x509.CertificateToken certificateToken, Map<eu.europa.esig.dss.model.x509.CertificateToken,List<TrustProperties>> relatedTrustServices)
    This method builds a list of XmlTrustedServiceProviders corresponding to the given CertificateToken

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • XmlTrustedServiceProviderBuilder

      public XmlTrustedServiceProviderBuilder(Map<String,eu.europa.esig.dss.diagnostic.jaxb.XmlCertificate> xmlCertsMap, Map<String,eu.europa.esig.dss.diagnostic.jaxb.XmlTrustedList> xmlTrustedListsMap, Map<String,TLInfo> tlInfoMap)
      Default constructor
      Parameters:
      xmlCertsMap - a map of certificate identifiers and corresponding XML representations
      xmlTrustedListsMap - a map of trusted list identifiers and corresponding XML representations
      tlInfoMap - a map of trusted list identifiers and corresponding TLInfos
  • Method Details

    • build

      public List<eu.europa.esig.dss.diagnostic.jaxb.XmlTrustedServiceProvider> build(eu.europa.esig.dss.model.x509.CertificateToken certificateToken, Map<eu.europa.esig.dss.model.x509.CertificateToken,List<TrustProperties>> relatedTrustServices)
      This method builds a list of XmlTrustedServiceProviders corresponding to the given CertificateToken
      Parameters:
      certificateToken - CertificateToken to get a list of XmlTrustedServiceProviders
      relatedTrustServices - a map of trust anchor CertificateTokens and their corresponding trusted services
      Returns:
      a list of XmlTrustedServiceProviders