Codota Logo
XmlTrustedServiceProvider.getTSPName
Code IndexAdd Codota to your IDE (free)

How to use
getTSPName
method
in
eu.europa.esig.dss.jaxb.diagnostic.XmlTrustedServiceProvider

Best Java code snippets using eu.europa.esig.dss.jaxb.diagnostic.XmlTrustedServiceProvider.getTSPName (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew LinkedList()
  • Codota IconCollections.emptyList()
  • Codota Iconnew ArrayList()
  • Smart code suggestions by Codota
}
origin: esig/dss

public List<TrustedServiceWrapper> getTrustedServices() {
  List<TrustedServiceWrapper> result = new ArrayList<TrustedServiceWrapper>();
  List<XmlTrustedServiceProvider> tsps = certificate.getTrustedServiceProviders();
  if (Utils.isCollectionNotEmpty(tsps)) {
    for (XmlTrustedServiceProvider tsp : tsps) {
      List<XmlTrustedService> trustedServices = tsp.getTrustedServices();
      if (Utils.isCollectionNotEmpty(trustedServices)) {
        for (XmlTrustedService trustedService : trustedServices) {
          TrustedServiceWrapper wrapper = new TrustedServiceWrapper();
          wrapper.setTspName(tsp.getTSPName());
          wrapper.setServiceName(trustedService.getServiceName());
          wrapper.setCountryCode(tsp.getCountryCode());
          wrapper.setStatus(trustedService.getStatus());
          wrapper.setType(trustedService.getServiceType());
          wrapper.setStartDate(trustedService.getStartDate());
          wrapper.setEndDate(trustedService.getEndDate());
          wrapper.setCapturedQualifiers(new ArrayList<String>(trustedService.getCapturedQualifiers()));
          wrapper.setAdditionalServiceInfos(new ArrayList<String>(trustedService.getAdditionalServiceInfoUris()));
          result.add(wrapper);
        }
      }
    }
  }
  return result;
}
origin: esig/dss

XmlTrustAnchor trustAnchor = new XmlTrustAnchor();
trustAnchor.setCountryCode(xmlTrustedServiceProvider.getCountryCode());
trustAnchor.setTrustServiceProvider(xmlTrustedServiceProvider.getTSPName());
trustAnchor.setTrustServiceProviderRegistrationId(xmlTrustedServiceProvider.getTSPRegistrationIdentifier());
trustAnchor.setTrustServiceName(serviceName);
eu.europa.esig.dss.jaxb.diagnosticXmlTrustedServiceProvidergetTSPName

Javadoc

Gets the value of the tspName property.

Popular methods of XmlTrustedServiceProvider

  • getCountryCode
    Gets the value of the countryCode property.
  • getTrustedServices
  • <init>
  • getTSPRegistrationIdentifier
    Gets the value of the tspRegistrationIdentifier property.

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now