You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-14Lines changed: 21 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,10 @@
1
1

2
2
3
-
# Build status
4
-
5
-
[](https://github.com/open-eid/digidoc4j/actions/workflows/digidoc4j-verify.yml)
6
-
7
3
# DigiDoc4j
8
4
DigiDoc4j is a Java library for digitally signing documents and creating digital signature containers of signed documents.
9
5
10
6
# Features
11
-
* Creating ASiC-E and BDOC containers
7
+
* Creating ASiC-E
12
8
* Validating ASiC-E, BDOC, ASIC-S and DDOC containers
13
9
* Creating and validating detached XadES
14
10
@@ -31,18 +27,22 @@ DigiDoc4j is a Java library for digitally signing documents and creating digital
31
27
* It is recommended not to use special characters in the data file’s name, i.e. it is suggested to use only the characters that are categorized as “unreserved” according to RFC3986 (https://datatracker.ietf.org/doc/html/rfc3986).
32
28
33
29
# BDOC (Estonian specific implementation of Associated Signature Container Extended) container format
30
+
The support for creating BDOC-specific **time-mark** signatures was removed since DigiDoc4j version **5.2.0** in relation to
31
+
[discontinuation of **time-mark**-capable OCSP responders in 2023](https://www.id.ee/en/article/ria-stops-supporting-the-creation-of-the-bdoc-tm-digital-signature-format-in-the-software-it-develops/).
32
+
34
33
* Has **.bdoc** extension
35
34
* BDOC is a digital signature format developed in 2014 to replace the old, DDOC (DigiDoc) digital signature format.
36
35
* This format has been used as a default digital signature format in Estonia since 2015 until end of 2018.
37
36
* BDOC container is based on **ASiC-E** standard.
38
37
* Signatures are stored in **XAdES** format.
39
-
* Supports signature formats:
38
+
* Supports signature formats:
40
39
***LT_TM** (Long Term TimeMark) - signature has **time-mark** ensuring long-term provability of the authenticity of the signature.
40
+
**LT_TM** signing support in DigiDoc4j was removed since version **5.2.0**.
41
41
* It is based on **XAdES baseline LT** signature format.
42
42
***.bdoc** file is in fact a ZIP container with the signed files, the signatures and the protocol control information and can basically be opened by any program that recognizes the ZIP format.
43
43
* It is recommended not to use special characters in the data file’s name, i.e. it is suggested to use only the characters that are categorized as “unreserved” according to RFC3986 (https://datatracker.ietf.org/doc/html/rfc3986).
44
44
45
-
# ASiC-S (ASiC-E - Associated Signature Container Simple) container format
45
+
# ASiC-S (Associated Signature Container Simple) container format
46
46
* Has **.asics** or **.scs** extension
47
47
* Container associates one data file with either:
48
48
- one signature file containing one or more XAdES detached digital signature(s) that apply to it; or
@@ -69,10 +69,10 @@ DigiDoc4j is a Java library for digitally signing documents and creating digital
69
69
# Requirements
70
70
* Java **8** or higher (since version 4.0.0-RC.1)
71
71
* Internet access to external verification services
72
-
* OCSP (Online Certificate Status Protocol) - http://ocsp.sk.ee
73
-
* EU TSL (European Commission's Trusted Status List) - https://ec.europa.eu/information_society/policy/esignature/trusted-list/tl-mp.xml
74
-
* All the EU member states' TL servers referred in the EU TSL. Note that this list may change. (e.g. https://sr.riik.ee/tsl/estonian-tsl.xml, https://sede.minetur.gob.es/Prestadores/TSL/TSL.xml, https://www.viestintavirasto.fi/attachments/TSL-Ficora.xml etc.)
* OCSP (Online Certificate Status Protocol) - http://ocsp.sk.ee
73
+
* EU TSL (European Commission's Trusted Status List) - https://ec.europa.eu/information_society/policy/esignature/trusted-list/tl-mp.xml
74
+
* All the EU member states' TL servers referred in the EU TSL. Note that this list may change. (e.g. https://sr.riik.ee/tsl/estonian-tsl.xml, https://sede.minetur.gob.es/Prestadores/TSL/TSL.xml, https://www.viestintavirasto.fi/attachments/TSL-Ficora.xml etc.)
Official builds are provided through [releases](https://github.com/open-eid/digidoc4j/releases). If you want support, you need to be using official builds. Contact for assistance by email [[email protected]](mailto:[email protected]).
94
-
Additional information can be found in [wiki Q&A](https://github.com/open-eid/digidoc4j/wiki/Questions-&-Answers) and on [ID.ee portal](https://www.id.ee/rubriik/digidoc-teegid/).
93
+
Official builds are provided through [releases](https://github.com/open-eid/digidoc4j/releases).
94
+
If you want support, you need to be using official builds.
Copy file name to clipboardExpand all lines: RELEASE-NOTES.txt
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,30 @@
1
1
DigiDoc4J Java library release notes
2
2
------------------------------------
3
3
4
+
Release 5.2.0
5
+
------------------
6
+
Summary of the major changes since 5.1.0
7
+
------------------------------------------
8
+
* Disabled the possibility to create signatures with LT_TM and B_EPES profiles
9
+
* Fixed OCSP request nonce encoding (in CommonOCSPSource) on signature creation - OCSP nonce, used in
10
+
"id-pkix-ocsp-nonce" OCSP extension, is now a DER-encoded OCTET STRING, which is encapsulated as another OCTET STRING
11
+
(see https://www.rfc-editor.org/rfc/rfc4366.html#section-3.6 and https://www.rfc-editor.org/rfc/rfc6961.html#section-2.2)
12
+
* Deprecated "full report" configuration flag, as enabling it can produce false negative validation results in some cases:
13
+
- Deprecated setFullReportNeeded and isFullReport needed methods in Configuration class
14
+
- Deprecated -err/-showerrors command line option in DigiDoc4J command line utility
15
+
* Updated dependencies
16
+
17
+
Known issues
18
+
------------
19
+
* We have noticed a slight increase in TSL loading times due to pivot LOTL support
20
+
* We have noticed a decrease in performance with the introduction of properly accessing AIA certificate resources
21
+
* Opening a container that contains signatures, triggers TSL loading (TSL lazy loading does not work as expected)
22
+
* While upgrading from versions older than 2.1.1 be sure that your integration :
23
+
- doesn't use Xalan or XercesImpl dependencies
24
+
- uses a patched Java version (JDK8 or higher)
25
+
Xalan and XercesImpl were used to patch XML vulnerabilities in older java versions. They should be discarded with higher versions because they override default Java XML security.
26
+
If it is not possible to remove Xalan, then you can set your system property to override TransformerFactory : System.setProperty("javax.xml.transform.TransformerFactory","com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");
Copy file name to clipboardExpand all lines: ddoc4j/pom.xml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
6
6
<artifactId>ddoc4j</artifactId>
7
7
<packaging>jar</packaging>
8
-
<version>5.1.0</version>
8
+
<version>5.2.0</version>
9
9
10
10
<name>DDoc4J</name>
11
11
<description>DDoc4J is Java Library for validating DDOC documents. It's not recommended to use it directly but rather through DigiDoc4J's API.</description>
0 commit comments