Package eu.europa.esig.dss.spi.tsl
Class ServiceEquivalence
java.lang.Object
eu.europa.esig.dss.spi.util.BaseTimeDependent
eu.europa.esig.dss.spi.tsl.ServiceEquivalence
- All Implemented Interfaces:
TimeDependent
,Serializable
This class represents a wrapper for TrustServiceEquivalenceInformation element from MRA scheme
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder class used to build aServiceEquivalence
object -
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with values from the builder -
Method Summary
Modifier and TypeMethodDescriptionGets a list of CertificateContentReferencesEquivalenceList equivalencesGets TrustServiceLegalIdentifier valueGets a map of QualifierEquivalenceList equivalences between pointed and pointing partiesGets TrustServiceEquivalenceStatus valueGets a map of TrustServiceTSLStatusEquivalenceList equivalences between pointed and pointing partiesGets a map of AdditionalServiceInformation equivalences between pointed and pointing partiesvoid
setCertificateContentEquivalences
(List<CertificateContentEquivalence> certificateContentEquivalences) Sets a list of CertificateContentReferencesEquivalenceList equivalencesvoid
setLegalInfoIdentifier
(String legalInfoIdentifier) Sets TrustServiceLegalIdentifier valuevoid
setQualifierEquivalence
(Map<String, String> qualifierEquivalence) Sets a map of QualifierEquivalenceList equivalences between pointed and pointing partiesvoid
Sets TrustServiceEquivalenceStatus valuevoid
Sets a map of TrustServiceTSLStatusEquivalenceList equivalences between pointed and pointing partiesvoid
setTypeAsiEquivalence
(Map<ServiceTypeASi, ServiceTypeASi> typeAsiEquivalence) Sets a map of AdditionalServiceInformation equivalences between pointed and pointing partiesMethods inherited from class eu.europa.esig.dss.spi.util.BaseTimeDependent
getEndDate, getStartDate, toString
-
Constructor Details
-
ServiceEquivalence
Default constructor instantiating object with values from the builder- Parameters:
builder
-ServiceEquivalence.ServiceEquivalenceBuilder
-
-
Method Details
-
getLegalInfoIdentifier
Gets TrustServiceLegalIdentifier value- Returns:
String
-
setLegalInfoIdentifier
Sets TrustServiceLegalIdentifier value- Parameters:
legalInfoIdentifier
-String
-
getStatus
Gets TrustServiceEquivalenceStatus value- Returns:
MRAStatus
-
setStatus
Sets TrustServiceEquivalenceStatus value- Parameters:
status
-MRAStatus
-
getTypeAsiEquivalence
Gets a map of AdditionalServiceInformation equivalences between pointed and pointing parties- Returns:
- a map between
ServiceTypeASi
for pointed andServiceTypeASi
for pointing parties
-
setTypeAsiEquivalence
Sets a map of AdditionalServiceInformation equivalences between pointed and pointing parties- Parameters:
typeAsiEquivalence
- a map betweenServiceTypeASi
for pointed andServiceTypeASi
for pointing parties
-
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
Sets a map of TrustServiceTSLStatusEquivalenceList equivalences between pointed and pointing parties- Parameters:
statusEquivalence
- a map between list ofString
for pointed and pointing parties
-
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 ofCertificateContentEquivalence
values
-
getQualifierEquivalence
Gets a map of QualifierEquivalenceList equivalences between pointed and pointing parties- Returns:
- a map between
String
for pointed and pointing parties
-
setQualifierEquivalence
Sets a map of QualifierEquivalenceList equivalences between pointed and pointing parties- Parameters:
qualifierEquivalence
- a map betweenString
for pointed and pointing parties
-