Class ServiceEquivalence

java.lang.Object
eu.europa.esig.dss.spi.util.BaseTimeDependent
eu.europa.esig.dss.spi.tsl.ServiceEquivalence
All Implemented Interfaces:
TimeDependent, Serializable

public class ServiceEquivalence extends BaseTimeDependent
This class represents a wrapper for TrustServiceEquivalenceInformation element from MRA scheme
See Also:
  • Constructor Details

  • Method Details

    • getLegalInfoIdentifier

      public String getLegalInfoIdentifier()
      Gets TrustServiceLegalIdentifier value
      Returns:
      String
    • setLegalInfoIdentifier

      public void setLegalInfoIdentifier(String legalInfoIdentifier)
      Sets TrustServiceLegalIdentifier value
      Parameters:
      legalInfoIdentifier - String
    • getStatus

      public MRAStatus getStatus()
      Gets TrustServiceEquivalenceStatus value
      Returns:
      MRAStatus
    • setStatus

      public void setStatus(MRAStatus status)
      Sets TrustServiceEquivalenceStatus value
      Parameters:
      status - MRAStatus
    • getTypeAsiEquivalence

      public Map<ServiceTypeASi,ServiceTypeASi> getTypeAsiEquivalence()
      Gets a map of AdditionalServiceInformation equivalences between pointed and pointing parties
      Returns:
      a map between ServiceTypeASi for pointed and ServiceTypeASi for pointing parties
    • setTypeAsiEquivalence

      public void setTypeAsiEquivalence(Map<ServiceTypeASi,ServiceTypeASi> typeAsiEquivalence)
      Sets a map of AdditionalServiceInformation equivalences between pointed and pointing parties
      Parameters:
      typeAsiEquivalence - a map between ServiceTypeASi for pointed and ServiceTypeASi for pointing parties
    • getStatusEquivalence

      public Map<List<String>,List<String>> getStatusEquivalence()
      Gets a map of TrustServiceTSLStatusEquivalenceList equivalences between pointed and pointing parties
      Returns:
      a map between list of String for pointed and pointing parties
    • setStatusEquivalence

      public void setStatusEquivalence(Map<List<String>,List<String>> statusEquivalence)
      Sets a map of TrustServiceTSLStatusEquivalenceList equivalences between pointed and pointing parties
      Parameters:
      statusEquivalence - a map between list of String for pointed and pointing parties
    • getCertificateContentEquivalences

      public List<CertificateContentEquivalence> getCertificateContentEquivalences()
      Gets a list of CertificateContentReferencesEquivalenceList equivalences
      Returns:
      a list of CertificateContentEquivalence values
    • setCertificateContentEquivalences

      public void setCertificateContentEquivalences(List<CertificateContentEquivalence> certificateContentEquivalences)
      Sets a list of CertificateContentReferencesEquivalenceList equivalences
      Parameters:
      certificateContentEquivalences - a list of CertificateContentEquivalence values
    • getQualifierEquivalence

      public Map<String,String> getQualifierEquivalence()
      Gets a map of QualifierEquivalenceList equivalences between pointed and pointing parties
      Returns:
      a map between String for pointed and pointing parties
    • setQualifierEquivalence

      public void setQualifierEquivalence(Map<String,String> qualifierEquivalence)
      Sets a map of QualifierEquivalenceList equivalences between pointed and pointing parties
      Parameters:
      qualifierEquivalence - a map between String for pointed and pointing parties