Package eu.europa.esig.dss.validation
Class XmlTrustedServiceProviderBuilder
java.lang.Object
eu.europa.esig.dss.validation.XmlTrustedServiceProviderBuilder
This class is used to build a
XmlTrustedServiceProvider object instance-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<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 ofXmlTrustedServiceProviders corresponding to the givenCertificateToken
-
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 representationsxmlTrustedListsMap- a map of trusted list identifiers and corresponding XML representationstlInfoMap- a map of trusted list identifiers and correspondingTLInfos
-
-
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 ofXmlTrustedServiceProviders corresponding to the givenCertificateToken- Parameters:
certificateToken-CertificateTokento get a list ofXmlTrustedServiceProvidersrelatedTrustServices- a map of trust anchorCertificateTokens and their corresponding trusted services- Returns:
- a list of
XmlTrustedServiceProviders
-