What is DSS?
Purpose of the service
DSS (Digital Signature Services) is an open-source software library for electronic signature creation and validation. DSS supports the creation and verification of interoperable and secure electronic signatures in line with European legislation. In particular, DSS aims to follow the eIDAS Regulation and related standards closely.
DSS can be re-used in an IT solution for electronic signatures to ensure that signatures are created and verified in line with European legislation and standards. DSS allows re-use in a variety of different ways: in an applet, in a stand-alone application or in a server application. DSS can also be used as a reference implementation for IT solutions which do not directly re-use it. Demos are also available to assist the use of DSS as a reference implementation. DSS was developed by Nowina Solutions and is maintained up-to-date via new releases.
Users of the service
The CEF eSignature DSS service is intended for Service Providers active in the implementation of e-signature solutions.
Benefits of the service
CEF eSignature's DSS open-source library delivers the following benefits to its users:
- Open-source software under LGPL 2.1, a non-viral open source license;
- Written in Java, guaranteeing portability on numerous platforms;
- Interoperability of the e-signatures;
- Supports both e-signatures and e-seals;
- Validation of countersignatures and multiple signatures;
- A flexible library, that can be:
- Reused in different topologies: in an applet, as a stand-alone application, server-based, or any combination;
- Used in its entirety or on a module-by-module basis;
- Adapted to numerous usages via configuration files or extension points;
- Alignment with the eIDAS Regulation and related standards;
- Supports EU standards on:
- Signature formats and packaging methods;
- Signature validation procedures;
- Validation relying on Member States' trusted lists:
- Status of trust service providers/trust service, compensation of information, path validation.
How can it be used?
The library, realised in Java, is open-source, available to all Member States, businesses and citizens for re-use in electronic signature solutions. It is continuously updated and maintained to anticipate and follow developments in regulations and standards.
Anyone can integrate it and redistribute it under the terms of the Lesser General Public License (LGPL 2.1).
In accordance with ETSI standards, DSS supports various document and signature formats including PAdES, XAdES, CAdES and ASiC and is compliant with Implementing Decision 2015/1506/EU. A “cook-book” is also provided with documentation targeting implementers/developers and aiming at facilitating the integration and use of DSS in their applications.
Validation of qualified and advanced signatures and seals
In anticipation of the ETSI standard, TS 119 172-4, which is currently being drafted with the aim of standardising a “signature validation policy for European qualified electronic signatures/seals using trusted lists”, eSignature Building Block’s provides its interpretation of the eIDAS Regulation's requirements for the validation of qualified and advanced signatures and seals.
This algorithm has been designed following discussions and meetings with experts involved in the field, in the context of the CEF eSignature Building Block. This algorithm is to be considered as guidelines for implementers, or parties interested in understanding how QES validation is implemented in DSS.
The algorithm (available below) focuses on determining 3 sub-conclusions:
- Whether the certificate is qualified
- What is the type of this certificate
- Whether the corresponding private key is protected by a QSCD.
Demos of DSS for electronic signature creation, extension and validation
The CEF eSignature building block maintains a demonstration tool that allows everybody interested in the DSS functionalities to try them out.
The demo tool is a web application that, among others, allows users to:
- upload and sign a document
- upload and sign multiple documents
- access REST / SOAP webservices
- extend an electronic signature
- validate an electronic signature
The DSS demonstration tool is accessible from here
Releases and Bitbucket
DSS releases are part of the eSignature service offering.
Source code is also made available on the DSS Bitbucket repository.
Please note that, due a Joinup migration, older versions of DSS need to be adapted in order to compile successfully. Practical details can be found here.
Summary of current version
Main new features / improvements :
Bug fixes :
- [DSS-2513] - Certificates embedded into an OCSP response are not timestamped
- [DSS-2515] - JAdES : avoid exception on a detached LTA signature validation without original file
- [DSS-2522] - Unable to augment ASiC-E with CAdES LTA with expired signing certificate
- [DSS-2524] - JAdES : tstVD certificates are not reported within FoundCertificates
- [DSS-2526] - TL-Summary webPage : rows recalculated on a collapse
- [DSS-2530] - JAdES ValidationReport with multiple tstVD
- [DSS-2534] - SVC : check revocation data is known to contain information about certificate
- [DSS-2539] - JAdES : a new added signature with a higher level extends other signatures
- [DSS-2540] - PdfBox : cast exception when signing non-signature field
- [DSS-2545] - Wrong minimal key size for DSA in default validation policy
- [DSS-2547] - WebApp : unable to sign when the used encryption algorithm is different from the one used to sign the certificate
- [DSS-2551] - Revocation data is not acceptable warning is reported on LTV process when a valid revocation is available
- [DSS-2560] - Custom TokenIdentifierProvider duplicates SignerData objects in DiagnosticData
- [DSS-2479] - SVG timeline : add support for independent timestamps validation
- [DSS-2518] - Deadlocks on TLAnalysis if analysis throws exception
- [DSS-2535] - WebApp : add dataLoader timeout configuration to properties file
- [DSS-2549] - WebApp : log exception stacktrace
Many improvements in the validation reports
Bug fixes :
|v5.2.1||October 2018||Following a security assessment from the Ruhr-Universität Bochum, we are delivering security patches for DSS versions 5.2 and 5.3|
This release candidate comes with 2 main improvements:
A XAdES PlugTest is planned in October / November 2015. Remaining changes resulting from this PlugTest and not included in v4.6 may be included in this release.
An eSignature Validation PlugTest is planned in April 2016. Depending on the actual timeframe, impacts from this PlugTest may be included in this release, and the release of DSS 4.7 will be postponed accordingly.
Other potential improvements and features:
Based on standards:
Improvements in packaging and core functionalities:
* October 2015: Implementing Acts Art. 27 & 37 (eSig formats)
The main purpose of this milestone is to align DSS on the Implementing Acts of Art. 27, 37 of eIDAS published in September 2015.
Please note that, as these Implementing Acts published in September 2015 will first designate the “former standards” (baseline profiles ETSI TS 103 171, 103 172, 103 173, and 103 174) and not the upcoming ETSI EN 319 1x2, it was decided to rename this release as DSS 4.6 and not DSS 5.0. The major version DSS 5.0 will be used when these Implementing Acts will be modified in 2016 to point to ETSI EN 319 1x2.
Following a security assessment from the Ruhr-Universität Bochum, we are delivering security patches for DSS versions 5.2 and 5.3.
Delivered patches are:
Please consider that use of older versions should be discouraged.
XAdES / ASiC with XAdES / TL-based signature validation
If your DSS integration is using XAdES, ASiC with XAdES, or TL-based signature validation, it is strongly encouraged to upgrade your version.
The patches enforce signature validations against different kinds of attack: XML Signature Wrapping (XSW), XPath injections, Server Side Request Forgeries (SSRF) and XML External Entities (XEE).
While upgrading, be sure that your integration :
- doesn't use Xalan or XercesImpl dependencies
- uses a patched Java version (JDK7u40+, JDK8 or higher)
If you use dss-pades, it is also strongly encouraged to upgrade your DSS version, as these releases include a fix of PdfBox to patch vulnerabilities.
Thanks for downloading DSS
We would greatly appreciate if you could also help us enhance the user experience of this website and fill in this survey to tell us who you are:
I don't wish to participate