Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1000 Bytes

File metadata and controls

30 lines (20 loc) · 1000 Bytes

wallet-dss-cli

OpenSSF Scorecard

This is a repository providing a command line interface for the EU Digital Signature Service library. It can be used to sign XML documents using the XAdES formats used by EU trusted lists.

Usage

Build the project (requires Java 25):

mvn clean install -DskipTests

The CLI strictly outputs the signed XML to Standard Out (stdout). This allows you to easily pipe or redirect the output directly into a new file.

Signing an XML Document

java -jar target/wallet-dss-cli.jar sign <unsigned.xml> <private-key.pem> <certificate.pem> > <signed.xml>

Example:

java -jar target/wallet-dss-cli.jar sign src/test/resources/test.xml src/test/resources/test-key.pem src/test/resources/test-cert.pem > test-signed.xml