Java library for working with CDOC documents.
This project started with the help of European Regional Development Fund.
Take a look at the examples
Using a smart card to decrypt a file while using Java 17 or a later version, an extra JVM argument is required:
--add-exports jdk.crypto.cryptoki/sun.security.pkcs11=ALL-UNNAMED
You can use the library as a dependency from Maven Central
<dependency>
<groupId>org.open-eid.cdoc4j</groupId>
<artifactId>cdoc4j</artifactId>
<version>1.5</version>
</dependency>