Package eu.europa.esig.dss.diagnostic
Class TrustedServiceWrapper
java.lang.Object
eu.europa.esig.dss.diagnostic.TrustedServiceWrapper
Wraps an extracted information from a Trusted Service
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets additional service informationsGets captured qualifiersGets country codeGets TrustedService end validity dateGets corresponding List of Trusted ListsGets the Trust Service equivalence status ending time defined within MRAGets the Trust Service equivalence status starting time defined within MRAGets the Trust Service Legal Identifier matching the Trust Service defined within MRAGets original third-country captured qualifiers defined within Trusted List (before applied MRA)Gets original third-country additional service informations defined within Trusted List (before applied MRA)Gets original third-country status defined within Trusted List (before applied MRA)Gets original third-country type defined within Trusted List (before applied MRA)Gets Service Digital Identifier CertificateGets service namesGets TrustedService start validity dateGets statusGets corresponding Trusted ListGets Trusted Service Provider namesGets Trusted Service Provider trade namesgetType()
Gets typeboolean
Gets whether MRA has been enacted for this Trusted Servicevoid
setAdditionalServiceInfos
(List<String> additionalServiceInfos) Sets additional service informationsvoid
setCapturedQualifiers
(List<String> capturedQualifiers) Sets captured qualifiersvoid
setCountryCode
(String countryCode) Sets country codevoid
setEnactedMRA
(Boolean enactedMRA) Sets whether MRA has been enacted for this Trusted Servicevoid
setEndDate
(Date endDate) Sets TrustedService end validity datevoid
Sets corresponding List of Trusted Listsvoid
setMraTrustServiceEquivalenceStatusEndingTime
(Date mraTrustServiceEquivalenceStatusEndingTime) Sets the Trust Service equivalence status ending time defined within MRAvoid
setMraTrustServiceEquivalenceStatusStartingTime
(Date mraTrustServiceEquivalenceStatusStartingTime) Sets the Trust Service equivalence status starting time defined within MRAvoid
setMraTrustServiceLegalIdentifier
(String mraTrustServiceLegalIdentifier) Sets the Trust Service Legal Identifier matching the Trust Service defined within MRAvoid
setOriginalCapturedQualifiers
(List<String> originalCapturedQualifiers) Sets original third-country captured qualifiers defined within Trusted List (before applied MRA)void
setOriginalTCAdditionalServiceInfos
(List<String> originalTCAdditionalServiceInfos) Sets original third-country additional service informations defined within Trusted List (before applied MRA)void
setOriginalTCStatus
(String originalTCStatus) Sets original third-country status defined within Trusted List (before applied MRA)void
setOriginalTCType
(String originalTCType) Sets original third-country type defined within Trusted List (before applied MRA)void
setServiceDigitalIdentifier
(CertificateWrapper serviceDigitalIdentifier) Sets Service Digital Identifier Certificatevoid
setServiceNames
(List<String> serviceNames) Sets service namesvoid
setStartDate
(Date startDate) Sets TrustedService start validity datevoid
Sets statusvoid
setTrustedList
(XmlTrustedList trustedList) Sets corresponding Trusted Listvoid
setTspNames
(List<String> tspNames) Sets Trusted Service Provider namesvoid
setTspTradeNames
(List<String> tspTradeNames) Sets Trusted Service Provider trade namesvoid
Sets type
-
Constructor Details
-
TrustedServiceWrapper
public TrustedServiceWrapper()
-
-
Method Details
-
getTrustedList
Gets corresponding Trusted List- Returns:
XmlTrustedList
-
setTrustedList
Sets corresponding Trusted List- Parameters:
trustedList
-XmlTrustedList
-
getListOfTrustedLists
Gets corresponding List of Trusted Lists- Returns:
XmlTrustedList
-
setListOfTrustedLists
Sets corresponding List of Trusted Lists- Parameters:
lotl
-XmlTrustedList
-
getTspNames
Gets Trusted Service Provider names- Returns:
- list of
String
s
-
setTspNames
Sets Trusted Service Provider names- Parameters:
tspNames
- list ofString
s
-
getTspTradeNames
Gets Trusted Service Provider trade names- Returns:
- list of
String
s
-
setTspTradeNames
Sets Trusted Service Provider trade names- Parameters:
tspTradeNames
- list ofString
s
-
getServiceDigitalIdentifier
Gets Service Digital Identifier Certificate- Returns:
CertificateWrapper
-
setServiceDigitalIdentifier
Sets Service Digital Identifier Certificate- Parameters:
serviceDigitalIdentifier
-CertificateWrapper
-
getServiceNames
Gets service names- Returns:
- list of
String
s
-
setServiceNames
Sets service names- Parameters:
serviceNames
- list ofString
s
-
getCountryCode
Gets country code- Returns:
String
-
setCountryCode
Sets country code- Parameters:
countryCode
-String
-
getStatus
Gets status- Returns:
String
-
setStatus
Sets status- Parameters:
status
-String
-
getType
Gets type- Returns:
String
-
setType
Sets type- Parameters:
type
-String
-
getStartDate
Gets TrustedService start validity date- Returns:
Date
-
setStartDate
Sets TrustedService start validity date- Parameters:
startDate
-Date
-
getEndDate
Gets TrustedService end validity date- Returns:
Date
-
setEndDate
Sets TrustedService end validity date- Parameters:
endDate
-Date
-
getCapturedQualifiers
Gets captured qualifiers- Returns:
- list of
String
s
-
setCapturedQualifiers
Sets captured qualifiers- Parameters:
capturedQualifiers
- list ofString
s
-
getAdditionalServiceInfos
Gets additional service informations- Returns:
- list of
String
s
-
setAdditionalServiceInfos
Sets additional service informations- Parameters:
additionalServiceInfos
- list ofString
s
-
isEnactedMRA
public boolean isEnactedMRA()Gets whether MRA has been enacted for this Trusted Service- Returns:
Boolean
-
setEnactedMRA
Sets whether MRA has been enacted for this Trusted Service- Parameters:
enactedMRA
-Boolean
-
getMraTrustServiceLegalIdentifier
Gets the Trust Service Legal Identifier matching the Trust Service defined within MRA- Returns:
String
-
setMraTrustServiceLegalIdentifier
Sets the Trust Service Legal Identifier matching the Trust Service defined within MRA- Parameters:
mraTrustServiceLegalIdentifier
-String
-
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
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
Gets original third-country status defined within Trusted List (before applied MRA)- Returns:
String
-
setOriginalTCStatus
Sets original third-country status defined within Trusted List (before applied MRA)- Parameters:
originalTCStatus
-String
-
getOriginalTCType
Gets original third-country type defined within Trusted List (before applied MRA)- Returns:
String
-
setOriginalTCType
Sets original third-country type defined within Trusted List (before applied MRA)- Parameters:
originalTCType
-String
-
getOriginalCapturedQualifiers
Gets original third-country captured qualifiers defined within Trusted List (before applied MRA)- Returns:
- a list of
String
s
-
setOriginalCapturedQualifiers
Sets original third-country captured qualifiers defined within Trusted List (before applied MRA)- Parameters:
originalCapturedQualifiers
- a list ofString
s
-
getOriginalTCAdditionalServiceInfos
Gets original third-country additional service informations defined within Trusted List (before applied MRA)- Returns:
- a list of
String
s
-
setOriginalTCAdditionalServiceInfos
Sets original third-country additional service informations defined within Trusted List (before applied MRA)- Parameters:
originalTCAdditionalServiceInfos
- a list ofString
s
-