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
Constructors -
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 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 typebooleanGets whether MRA has been enacted for this Trusted ServicevoidsetAdditionalServiceInfos(List<String> additionalServiceInfos) Sets additional service informationsvoidsetCapturedQualifiers(List<String> capturedQualifiers) Sets captured qualifiersvoidsetCountryCode(String countryCode) Sets country codevoidsetEnactedMRA(Boolean enactedMRA) Sets whether MRA has been enacted for this Trusted ServicevoidsetEndDate(Date endDate) Sets TrustedService end validity datevoidSets corresponding List of Trusted ListsvoidsetMraTrustServiceEquivalenceStatusStartingTime(Date mraTrustServiceEquivalenceStatusStartingTime) Sets the Trust Service equivalence status starting time defined within MRAvoidsetMraTrustServiceLegalIdentifier(String mraTrustServiceLegalIdentifier) Sets the Trust Service Legal Identifier matching the Trust Service defined within MRAvoidsetOriginalCapturedQualifiers(List<String> originalCapturedQualifiers) Sets original third-country captured qualifiers defined within Trusted List (before applied MRA)voidsetOriginalTCAdditionalServiceInfos(List<String> originalTCAdditionalServiceInfos) Sets original third-country additional service informations defined within Trusted List (before applied MRA)voidsetOriginalTCStatus(String originalTCStatus) Sets original third-country status defined within Trusted List (before applied MRA)voidsetOriginalTCType(String originalTCType) Sets original third-country type defined within Trusted List (before applied MRA)voidsetServiceDigitalIdentifier(CertificateWrapper serviceDigitalIdentifier) Sets Service Digital Identifier CertificatevoidsetServiceNames(List<String> serviceNames) Sets service namesvoidsetStartDate(Date startDate) Sets TrustedService start validity datevoidSets statusvoidsetTrustedList(XmlTrustedList trustedList) Sets corresponding Trusted ListvoidsetTspNames(List<String> tspNames) Sets Trusted Service Provider namesvoidsetTspTradeNames(List<String> tspTradeNames) Sets Trusted Service Provider trade namesvoidSets 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
Strings
-
setTspNames
Sets Trusted Service Provider names- Parameters:
tspNames- list ofStrings
-
getTspTradeNames
Gets Trusted Service Provider trade names- Returns:
- list of
Strings
-
setTspTradeNames
Sets Trusted Service Provider trade names- Parameters:
tspTradeNames- list ofStrings
-
getServiceDigitalIdentifier
Gets Service Digital Identifier Certificate- Returns:
CertificateWrapper
-
setServiceDigitalIdentifier
Sets Service Digital Identifier Certificate- Parameters:
serviceDigitalIdentifier-CertificateWrapper
-
getServiceNames
Gets service names- Returns:
- list of
Strings
-
setServiceNames
Sets service names- Parameters:
serviceNames- list ofStrings
-
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
Strings
-
setCapturedQualifiers
Sets captured qualifiers- Parameters:
capturedQualifiers- list ofStrings
-
getAdditionalServiceInfos
Gets additional service informations- Returns:
- list of
Strings
-
setAdditionalServiceInfos
Sets additional service informations- Parameters:
additionalServiceInfos- list ofStrings
-
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
-
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
Strings
-
setOriginalCapturedQualifiers
Sets original third-country captured qualifiers defined within Trusted List (before applied MRA)- Parameters:
originalCapturedQualifiers- a list ofStrings
-
getOriginalTCAdditionalServiceInfos
Gets original third-country additional service informations defined within Trusted List (before applied MRA)- Returns:
- a list of
Strings
-
setOriginalTCAdditionalServiceInfos
Sets original third-country additional service informations defined within Trusted List (before applied MRA)- Parameters:
originalTCAdditionalServiceInfos- a list ofStrings
-