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
Constructors -
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 typebooleanGets whether MRA has been enacted for this Trusted ServicevoidsetAdditionalServiceInfos(List<String> additionalServiceInfos) Sets additional service informationsvoidsetCapturedQualifiers(List<XmlQualifier> capturedQualifiers) Sets captured qualifiersvoidsetCountryCode(String countryCode) Sets country codevoidsetEnactedMRA(Boolean enactedMRA) Sets whether MRA has been enacted for this Trusted ServicevoidsetEndDate(Date endDate) Sets TrustService end validity datevoidSets corresponding List of Trusted ListsvoidsetMraTrustServiceEquivalenceStatusEndingTime(Date mraTrustServiceEquivalenceStatusEndingTime) Sets the Trust Service equivalence status ending time defined within MRAvoidsetMraTrustServiceEquivalenceStatusStartingTime(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<XmlQualifier> 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 TrustService 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
-
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 ofStrings
-
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
XmlQualifiers
-
getOriginalCapturedQualifierUris
-
setOriginalCapturedQualifiers
Sets original third-country captured qualifiers defined within Trusted List (before applied MRA)- Parameters:
originalCapturedQualifiers- a list ofXmlQualifiers
-
getOriginalTCAdditionalServiceInfos
-
setOriginalTCAdditionalServiceInfos
-