Skip to content

pagopa/java-digital-sign

Repository files navigation

java-digital-sign

java-digital-sign library is a wrapper for DSS Library which allows you to simplify some of the common tasks to perform when signing a PDF file.

⚠️ Currently the library only allows you to work on PDF files with a PAdES structure.

Requirements

The latest version of java-digital-sign has the following minimal requirements:

  • Java 11 and higher (tested up to Java 17) for the build is required.
  • Maven 3.6 and higher;
  • Memory and Disk: see minimal requirements for the used JVM. In general the higher available is better;
  • Operating system: no specific requirements (tested on Windows and Linux).

Build and usage

A simple build of the java-digital-sign Maven project can be done with the following command:

mvn clean install

the package is complete with plugins for prettier and syntax check

Prettier

mvn prettier:write

Checkstyle

mvn checkstyle:check

Compile

to compile the JAR with all dependencies:

mvn compile exec:java