Comments (1)
Hello,
Unfortunately this error is due to the fact that the Peruvian Trusted List is a Trusted List v3: <tsl:TSLVersionIdentifier>3</tsl:TSLVersionIdentifier>
DSS however is primarily designed to handle Trusted Lists v5, which are the trusted lists used in the EU.
The problem is that there is a retro-compatibility between the Specifications of Trusted Lists v3 and the Specifications of Trusted Lists v5: In TL v3 the tsl:ElectronicAddress element MUST contain a "NonEmptyURI" whereas in TL v5 it must contain a "NonEmptyMultiLangURI".
It is this retro-compatibility issue that causes DSS to be unable to parse the Peruvian TL.
You can find the Spefications of TL v3 in ETSI TS 102 231 V3.1.2. In particular, you will find in clauses 5.3.5.2 and 5.4.3.2 that the format of an electronic address is a sequence of character strings.
And indeed in the companion XSD document you will find
<xsd:element name="ElectronicAddress" type="tsl:ElectronicAddressType"/>
<xsd:complexType name="ElectronicAddressType">
<xsd:sequence>
<xsd:element name="URI" type="tsl:NonEmptyURIType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
On the other hand, you can find the Specifications of TL v5 in ETSI TS 119 612 v2.1.1. In there you will find in the same clauses 5.3.5.2 and 5.4.3.2 that the format of an electronic address is a sequence of multilingual character strings.
And indeed in the companion XSD document you will find
<!-- 2013-10. XML Schema CHANGE-->
<!-- ElectronicAddress changed to include MultilLan URIs for e-mails and web sites URIs as specified in TS 119 612-->
<xsd:element name="ElectronicAddress" type="tsl:ElectronicAddressType"/>
<xsd:complexType name="ElectronicAddressType">
<xsd:sequence>
<xsd:element name="URI" type="tsl:NonEmptyMultiLangURIType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
Since the TL v3 is a historical standard, I would really recommend a migration to TL v5. Furthermore, this would improve the chance of mutual recognition with the EU. FYI: The European Commission has set up a pilot for the recognition of trust services with other countries, and there is a useful documentation included in the pilot: https://esignature.ec.europa.eu/intl-comp/dss-demo
There Commission also makes publicly available a "Trusted List Manager non-EU" suitable to create, sign and edit a Trusted List v5: https://ec.europa.eu/cefdigital/wiki/display/TLSO/Trusted+List+Manager+non-EU
Hope this helps,
Kind regards,
Jean-Emmanuel PEREZ HERNANDEZ
from dss-demonstrations.
Related Issues (20)
- Is there a nice tutorial somewhere? HOT 2
- [Feature Request] Add a spring boot webapp alternative HOT 2
- Error when validating PDF file HOT 2
- REST API certificate chain error HOT 2
- VIsible signature via REST API HOT 3
- Disable logs from o.a.c.services.RestDocumentValidationServiceImpl HOT 2
- Is it possible to add custom certificates to DSS' list of trusted certificates? HOT 4
- Is it possible to create PAdES-B-LT and PAdES-B-LTA documents via REST API? HOT 4
- Configuration of the demonstration webapp's ip and port HOT 2
- Online refresh with https://www.ssi.gouv.fr/uploads/tl-fr.xml raises [Received fatal alert: protocol_version] HOT 5
- Standalone application for Mac OS HOT 3
- Use additional trusted certificates in DSS DemoWebapp HOT 3
- Visible Signature via RestAPI HOT 2
- SigningCertificateV2 error in DSS verification HOT 3
- PDF_NOT_ETSI error while trying to verify a signature with DSS Validation Tool HOT 4
- Please teach how to create the jar file of dss-spi-x509-aia, which is not included in central repository HOT 2
- Please teach how to create the jar file of dss-spi-x509-aia, which is not included in central repository HOT 1
- DSS demonstration tool not recognising OCSP response for signing cert HOT 6
- Error "The time-stamp message imprint is not intact!" while trying to increment the level of signature in PAdES B-T HOT 1
- [BUG] The openapi generation does not correctly generate the structure json for the property bytes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dss-demonstrations.