https://github.com/tvaliasek/sdat-signer
CLI tool for signing Czech National Bank input files. Very ugly hack of esig/dss and sources from GUI based original CNB sign tool.
https://github.com/tvaliasek/sdat-signer
bank cnb czech national sdat signature xades xml xmldsig zaslanivstupnizpravy
Last synced: about 1 year ago
JSON representation
CLI tool for signing Czech National Bank input files. Very ugly hack of esig/dss and sources from GUI based original CNB sign tool.
- Host: GitHub
- URL: https://github.com/tvaliasek/sdat-signer
- Owner: tvaliasek
- Created: 2022-01-20T22:56:47.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-18T10:57:03.000Z (almost 3 years ago)
- Last Synced: 2025-03-15T02:43:32.915Z (over 1 year ago)
- Topics: bank, cnb, czech, national, sdat, signature, xades, xml, xmldsig, zaslanivstupnizpravy
- Language: Java
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ČNB SDAT Signer
Very awfully (and I'm really sorry for that) forked esig/dss
demonstration project for usage as standalone signature tool
from cli. Use it on your own risk.
This fork is specifically customized for usage with
Czech National Bank SDAT reporting system and allows signing
only by passed PKCS#12 file.
## Usage
Fork this repo and build project with maven, or download precompiled JAR file. Minimum required JDK version is 17.0
### JAR file CLI Parameters
-i, --input Input GZIP file
-c, --pkcs PKCS#12 certificate with key
-p, --pwd PKCS#12 certificate password
-o, --output Output signature file
### Example
```
$ java -jar .\sdat-signer-1.0-jar-with-dependencies.jar -i .\SDAT_VYD_du3V1QJHNQT-70DMYMC0RaFccSMkl8.gzip -c .\signature.pfx -p sdat -o .\SDAT_VYD
_du3V1QJHNQT-70DMYMC0RaFccSMkl8.gzip.seal.xml
```