Package eu.europa.esig.dss.spi.tsl
Class ServiceInfo
- java.lang.Object
-
- eu.europa.esig.dss.spi.tsl.ServiceInfo
-
- All Implemented Interfaces:
Serializable
public class ServiceInfo extends Object implements Serializable
From a validation point of view, a Service is a set of pair ("Qualification Statement", "Condition").- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceInfo()
-
Method Summary
Modifier and Type Method Description booleanequals(Object obj)TimeDependentValues<ServiceInfoStatus>getStatus()Returns the status historyStringgetTlCountryCode()Returns the trusted list country codeStringgetTspElectronicAddress()Returns the trust service provider's electronic addressStringgetTspName()Returns the trust service provider nameStringgetTspPostalAddress()Returns the trust service provider's postal addressStringgetTspRegistrationIdentifier()Returns the trust service VAT or NTR numberStringgetTspTradeName()Returns the trust service provider's trade nameinthashCode()voidsetStatus(TimeDependentValues<ServiceInfoStatus> status)Sets the status historyvoidsetTlCountryCode(String tlCountryCode)Sets the country codevoidsetTspElectronicAddress(String tspElectronicAddress)Sets the electronic addressvoidsetTspName(String tspName)Sets the trust service provider namevoidsetTspPostalAddress(String tspPostalAddress)Sets the trust service provider's postal addressvoidsetTspRegistrationIdentifier(String tspRegistrationIdentifier)Sets the trust service VAT / NTR numbervoidsetTspTradeName(String tspTradeName)Sets the trust service provider's trade nameStringtoString()
-
-
-
Method Detail
-
getTlCountryCode
public String getTlCountryCode()
Returns the trusted list country code- Returns:
- the country code
-
getStatus
public TimeDependentValues<ServiceInfoStatus> getStatus()
Returns the status history- Returns:
- the trust service's status history
-
getTspElectronicAddress
public String getTspElectronicAddress()
Returns the trust service provider's electronic address- Returns:
- the trust service provider's electronic address
-
getTspName
public String getTspName()
Returns the trust service provider name- Returns:
- the trust service provider name
-
getTspRegistrationIdentifier
public String getTspRegistrationIdentifier()
Returns the trust service VAT or NTR number- Returns:
- the trust service VAT or NTR number
-
getTspPostalAddress
public String getTspPostalAddress()
Returns the trust service provider's postal address- Returns:
- the trust service provider's postal address
-
getTspTradeName
public String getTspTradeName()
Returns the trust service provider's trade name- Returns:
- the trust service provider's trade name
-
setTlCountryCode
public void setTlCountryCode(String tlCountryCode)
Sets the country code- Parameters:
tlCountryCode- the trusted list country code
-
setTspElectronicAddress
public void setTspElectronicAddress(String tspElectronicAddress)
Sets the electronic address- Parameters:
tspElectronicAddress- the electronic address
-
setTspName
public void setTspName(String tspName)
Sets the trust service provider name- Parameters:
tspName- the trust service provider's name
-
setTspRegistrationIdentifier
public void setTspRegistrationIdentifier(String tspRegistrationIdentifier)
Sets the trust service VAT / NTR number- Parameters:
tspRegistrationIdentifier- the trust service VAT / NTR number
-
setTspPostalAddress
public void setTspPostalAddress(String tspPostalAddress)
Sets the trust service provider's postal address- Parameters:
tspPostalAddress- the postal address
-
setTspTradeName
public void setTspTradeName(String tspTradeName)
Sets the trust service provider's trade name- Parameters:
tspTradeName- the trade name
-
setStatus
public void setStatus(TimeDependentValues<ServiceInfoStatus> status)
Sets the status history- Parameters:
status- the status history
-
-