Package eu.europa.esig.dss.diagnostic
Class TrustServiceWrapper
java.lang.Object
eu.europa.esig.dss.diagnostic.TrustServiceWrapper
Wraps an extracted information from a Trusted Service
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets additional service informationsGets captured qualifiersGets captured qualifiersGets country codeGets TrustService 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 captured qualifier URIs 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 TrustService 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<XmlQualifier> 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 TrustService 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<XmlQualifier> 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 TrustService 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
-
TrustServiceWrapper
public TrustServiceWrapper()
-
-
Method Details
-
getTrustedList
-
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
-
setTspNames
-
getTspTradeNames
-
setTspTradeNames
-
getServiceDigitalIdentifier
Gets Service Digital Identifier Certificate- Returns:
CertificateWrapper
-
setServiceDigitalIdentifier
Sets Service Digital Identifier Certificate- Parameters:
serviceDigitalIdentifier
-CertificateWrapper
-
getServiceNames
-
setServiceNames
-
getCountryCode
-
setCountryCode
-
getStatus
-
setStatus
-
getType
-
setType
-
getStartDate
-
setStartDate
-
getEndDate
-
setEndDate
-
getCapturedQualifiers
-
getCapturedQualifierUris
-
setCapturedQualifiers
Sets captured qualifiers- Parameters:
capturedQualifiers
- list ofString
s
-
getAdditionalServiceInfos
-
setAdditionalServiceInfos
-
isEnactedMRA
public boolean isEnactedMRA()Gets whether MRA has been enacted for this Trusted Service- Returns:
Boolean
-
setEnactedMRA
-
getMraTrustServiceLegalIdentifier
-
setMraTrustServiceLegalIdentifier
-
getMraTrustServiceEquivalenceStatusStartingTime
-
setMraTrustServiceEquivalenceStatusStartingTime
-
getMraTrustServiceEquivalenceStatusEndingTime
-
setMraTrustServiceEquivalenceStatusEndingTime
-
getOriginalTCStatus
-
setOriginalTCStatus
-
getOriginalTCType
-
setOriginalTCType
-
getOriginalCapturedQualifiers
Gets original third-country captured qualifiers defined within Trusted List (before applied MRA)- Returns:
- a list of
XmlQualifier
s
-
getOriginalCapturedQualifierUris
-
setOriginalCapturedQualifiers
Sets original third-country captured qualifiers defined within Trusted List (before applied MRA)- Parameters:
originalCapturedQualifiers
- a list ofXmlQualifier
s
-
getOriginalTCAdditionalServiceInfos
-
setOriginalTCAdditionalServiceInfos
-