DigiDoc for Java. Javadoc:
Java Other
Latest commit 30329a8 Jul 12, 2017 Indrek Jentson Modified configuration for maven, added support for preparing artifac…
…ts in order to deploy them into Maven Central Repository.

Signed-off-by: Indrek Jentson <indrek.jentson@cgi.com>
Permalink
Failed to load latest commit information.
.idea Configuration update, test coverage fixed Jul 3, 2017
.settings Nortal Digidoc4J fixes Mar 4, 2015
assembly Some fixes in Maven configuration. Jun 29, 2017
conf dd4j-34: TimeStamp TSS validation level=FAIL and added new status Jun 20, 2017
doc Modified configuration for maven-javadoc-plugin, added digidoc4j-*-ja… Jul 10, 2017
keystore Removed certs from keystore.jks: CN=EC_CNECT and CN=EC_DIGIT Jun 5, 2017
lib Merged new Maven configuration, Ivy and Ant scripts are removed. Jun 29, 2017
resources #4 : Organized files under testFiles Apr 25, 2017
src Merge branch 'master' of ee-git.groupinfra.com:RIA/digidoc4j Jun 29, 2017
test/org/digidoc4j Preparing to the release 1.0.6 Jul 3, 2017
testFiles Merge branch 'master' of ee-git.groupinfra.com:RIA/digidoc4j Jun 29, 2017
.gitignore Configuration update, test coverage fixed Jul 3, 2017
.project Nortal Digidoc4J fixes Mar 4, 2015
AUTHORS Modified configuration for maven, added support for preparing artifac… Jul 12, 2017
CONTRIBUTING.md Add Contributing.md Aug 5, 2015
LICENSE.LGPL #73885084 adds LGPL license information Nov 28, 2014
README.md Modified configuration for maven-javadoc-plugin, added digidoc4j-*-ja… Jul 10, 2017
RELEASE-NOTES.txt Preparing to the release 1.0.6 Jul 3, 2017
checkstyle.xml update checkstyle Sep 5, 2014
create_release.sh Nortal Digidoc4J fixes Mar 4, 2015
digidoc4j.iml Configuration update Jun 30, 2017
digidoc4j.sh Nortal Digidoc4J fixes Mar 4, 2015
jenkins_build.xml Removed sd-dss submodule. Ant build does not build sd-dss separately. Aug 25, 2015
make_util.sh Nortal Digidoc4J fixes Mar 4, 2015
pom.xml Modified configuration for maven, added support for preparing artifac… Jul 12, 2017
publish.sh Updated Maven Release script for version 1.0.4 Jul 7, 2016

README.md

EU Regional Development Fund

DigiDoc4j

DigiDoc4j is a Java library for digitally signing documents and creating digital signature containers of signed documents.

Features

  • Creating BDOC, ASiC-E and DDOC containers
  • Digitally signing containers in XAdES format
  • Validating BDOC, ASiC-E and DDOC containers

How to use it

BDOC (ASiC-E) container format

  • Has .bdoc or .asice extension
  • BDOC is a new digital signature format developed in 2014 to replace the old, DDOC (DigiDoc) digital signature format.
  • The benefits of the new format include the higher security level, the long-term integrity of the signed documents, as well as the better compliance with international standards.
  • BDOC container is based on ASiC-E standard.
  • Signatures are stored in XAdES format.
  • Supports two signature formats: BDOC-TM and BDOC-TS
  • BDOC-TM signature format has time-mark ensuring long-term provability of the authenticity of the signature.
  • This format has been used as a default digital signature format in Estonia since 2015.
  • It is based on XAdES baseline LT signature format.
  • Recommended extension is .bdoc
  • BDOC-TS signature format has time-stamp.
  • In contrast to the BDOC-TM format, long-term provability of the authenticity of the signature is ensured by time-stamps.
  • It is based on XAdES baseline LT signature format and uses RFC3161 based time-stamps which makes it highly compliant in international context.
  • To ensure better compliance with international standards, it's recommended to sign documents with the BDOC-TS time-stamp signature profile.
  • Recommended extension is .asice
  • .bdoc or .asice 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.

DDOC container format

  • Has .ddoc extension
  • An old DigiDoc digital signature format
  • Since year 2015 it's recommended not to sign documents in the DDOC format
  • It is based on XML Advanced Electronic Signatures (XAdES) format, corresponding to profile XAdES-X-L
  • The DigiDoc container includes the source files (the files that were signed) as well as the signatures that are related to the signed file(s)
  • Every signature contains the certificate, validity confirmation and the validity confirmation service certificate.

Documentation

Requirements

Maven

You can use the library as a Maven dependency from the Maven Central (http://mvnrepository.com/artifact/org.digidoc4j/digidoc4j)

<dependency>
	<groupId>org.digidoc4j</groupId>
	<artifactId>digidoc4j</artifactId>
	<version>1.x.x</version>
</dependency>

Known issues

The list of user stories and issues are tracked in Pivotal Tracker

Licence

  • LGPL (GNU Library General Public License, see LICENSE.LGPL)
  • © Estonian Information System Authority

Support

Official builds are provided through official distribution point installer.id.ee. If you want support, you need to be using official builds. Contact for assistance by email abi@id.ee or www.id.ee.

Source code is provided on "as is" terms with no warranty (see license for more information). Do not file Github issues with generic support requests.