Class TrustedServiceWrapper

java.lang.Object
eu.europa.esig.dss.diagnostic.TrustedServiceWrapper

public class TrustedServiceWrapper extends Object
Wraps an extracted information from a Trusted Service
  • Constructor Details

    • TrustedServiceWrapper

      public TrustedServiceWrapper()
  • Method Details

    • getTrustedList

      public XmlTrustedList getTrustedList()
      Gets corresponding Trusted List
      Returns:
      XmlTrustedList
    • setTrustedList

      public void setTrustedList(XmlTrustedList trustedList)
      Sets corresponding Trusted List
      Parameters:
      trustedList - XmlTrustedList
    • getListOfTrustedLists

      public XmlTrustedList getListOfTrustedLists()
      Gets corresponding List of Trusted Lists
      Returns:
      XmlTrustedList
    • setListOfTrustedLists

      public void setListOfTrustedLists(XmlTrustedList lotl)
      Sets corresponding List of Trusted Lists
      Parameters:
      lotl - XmlTrustedList
    • getTspNames

      public List<String> getTspNames()
      Gets Trusted Service Provider names
      Returns:
      list of Strings
    • setTspNames

      public void setTspNames(List<String> tspNames)
      Sets Trusted Service Provider names
      Parameters:
      tspNames - list of Strings
    • getTspTradeNames

      public List<String> getTspTradeNames()
      Gets Trusted Service Provider trade names
      Returns:
      list of Strings
    • setTspTradeNames

      public void setTspTradeNames(List<String> tspTradeNames)
      Sets Trusted Service Provider trade names
      Parameters:
      tspTradeNames - list of Strings
    • getServiceDigitalIdentifier

      public CertificateWrapper getServiceDigitalIdentifier()
      Gets Service Digital Identifier Certificate
      Returns:
      CertificateWrapper
    • setServiceDigitalIdentifier

      public void setServiceDigitalIdentifier(CertificateWrapper serviceDigitalIdentifier)
      Sets Service Digital Identifier Certificate
      Parameters:
      serviceDigitalIdentifier - CertificateWrapper
    • getServiceNames

      public List<String> getServiceNames()
      Gets service names
      Returns:
      list of Strings
    • setServiceNames

      public void setServiceNames(List<String> serviceNames)
      Sets service names
      Parameters:
      serviceNames - list of Strings
    • getCountryCode

      public String getCountryCode()
      Gets country code
      Returns:
      String
    • setCountryCode

      public void setCountryCode(String countryCode)
      Sets country code
      Parameters:
      countryCode - String
    • getStatus

      public String getStatus()
      Gets status
      Returns:
      String
    • setStatus

      public void setStatus(String status)
      Sets status
      Parameters:
      status - String
    • getType

      public String getType()
      Gets type
      Returns:
      String
    • setType

      public void setType(String type)
      Sets type
      Parameters:
      type - String
    • getStartDate

      public Date getStartDate()
      Gets TrustedService start validity date
      Returns:
      Date
    • setStartDate

      public void setStartDate(Date startDate)
      Sets TrustedService start validity date
      Parameters:
      startDate - Date
    • getEndDate

      public Date getEndDate()
      Gets TrustedService end validity date
      Returns:
      Date
    • setEndDate

      public void setEndDate(Date endDate)
      Sets TrustedService end validity date
      Parameters:
      endDate - Date
    • getCapturedQualifiers

      public List<String> getCapturedQualifiers()
      Gets captured qualifiers
      Returns:
      list of Strings
    • setCapturedQualifiers

      public void setCapturedQualifiers(List<String> capturedQualifiers)
      Sets captured qualifiers
      Parameters:
      capturedQualifiers - list of Strings
    • getAdditionalServiceInfos

      public List<String> getAdditionalServiceInfos()
      Gets additional service informations
      Returns:
      list of Strings
    • setAdditionalServiceInfos

      public void setAdditionalServiceInfos(List<String> additionalServiceInfos)
      Sets additional service informations
      Parameters:
      additionalServiceInfos - list of Strings
    • isEnactedMRA

      public boolean isEnactedMRA()
      Gets whether MRA has been enacted for this Trusted Service
      Returns:
      Boolean
    • setEnactedMRA

      public void setEnactedMRA(Boolean enactedMRA)
      Sets whether MRA has been enacted for this Trusted Service
      Parameters:
      enactedMRA - Boolean
    • getMraTrustServiceLegalIdentifier

      public String getMraTrustServiceLegalIdentifier()
      Gets the Trust Service Legal Identifier matching the Trust Service defined within MRA
      Returns:
      String
    • setMraTrustServiceLegalIdentifier

      public void setMraTrustServiceLegalIdentifier(String mraTrustServiceLegalIdentifier)
      Sets the Trust Service Legal Identifier matching the Trust Service defined within MRA
      Parameters:
      mraTrustServiceLegalIdentifier - String
    • getMraTrustServiceEquivalenceStatusStartingTime

      public Date getMraTrustServiceEquivalenceStatusStartingTime()
      Gets the Trust Service equivalence status starting time defined within MRA
      Returns:
      Date
    • setMraTrustServiceEquivalenceStatusStartingTime

      public void setMraTrustServiceEquivalenceStatusStartingTime(Date mraTrustServiceEquivalenceStatusStartingTime)
      Sets the Trust Service equivalence status starting time defined within MRA
      Parameters:
      mraTrustServiceEquivalenceStatusStartingTime - Date
    • getMraTrustServiceEquivalenceStatusEndingTime

      public Date getMraTrustServiceEquivalenceStatusEndingTime()
      Gets the Trust Service equivalence status ending time defined within MRA
      Returns:
      Date
    • setMraTrustServiceEquivalenceStatusEndingTime

      public void setMraTrustServiceEquivalenceStatusEndingTime(Date mraTrustServiceEquivalenceStatusEndingTime)
      Sets the Trust Service equivalence status ending time defined within MRA
      Parameters:
      mraTrustServiceEquivalenceStatusEndingTime - Date
    • getOriginalTCStatus

      public String getOriginalTCStatus()
      Gets original third-country status defined within Trusted List (before applied MRA)
      Returns:
      String
    • setOriginalTCStatus

      public void setOriginalTCStatus(String originalTCStatus)
      Sets original third-country status defined within Trusted List (before applied MRA)
      Parameters:
      originalTCStatus - String
    • getOriginalTCType

      public String getOriginalTCType()
      Gets original third-country type defined within Trusted List (before applied MRA)
      Returns:
      String
    • setOriginalTCType

      public void setOriginalTCType(String originalTCType)
      Sets original third-country type defined within Trusted List (before applied MRA)
      Parameters:
      originalTCType - String
    • getOriginalCapturedQualifiers

      public List<String> getOriginalCapturedQualifiers()
      Gets original third-country captured qualifiers defined within Trusted List (before applied MRA)
      Returns:
      a list of Strings
    • setOriginalCapturedQualifiers

      public void setOriginalCapturedQualifiers(List<String> originalCapturedQualifiers)
      Sets original third-country captured qualifiers defined within Trusted List (before applied MRA)
      Parameters:
      originalCapturedQualifiers - a list of Strings
    • getOriginalTCAdditionalServiceInfos

      public List<String> getOriginalTCAdditionalServiceInfos()
      Gets original third-country additional service informations defined within Trusted List (before applied MRA)
      Returns:
      a list of Strings
    • setOriginalTCAdditionalServiceInfos

      public void setOriginalTCAdditionalServiceInfos(List<String> originalTCAdditionalServiceInfos)
      Sets original third-country additional service informations defined within Trusted List (before applied MRA)
      Parameters:
      originalTCAdditionalServiceInfos - a list of Strings