Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ellipticsecure/signer-example
This example demonstrates how to use a MIRkey or eHSM Hardware Security Module to sign a PDF file.
https://github.com/ellipticsecure/signer-example
cryptography hsm java javafx pdf signing
Last synced: about 1 month ago
JSON representation
This example demonstrates how to use a MIRkey or eHSM Hardware Security Module to sign a PDF file.
- Host: GitHub
- URL: https://github.com/ellipticsecure/signer-example
- Owner: ellipticSecure
- Created: 2020-06-27T16:57:34.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-14T06:27:33.000Z (over 4 years ago)
- Last Synced: 2023-07-28T13:29:48.816Z (over 1 year ago)
- Topics: cryptography, hsm, java, javafx, pdf, signing
- Language: Java
- Homepage:
- Size: 2.92 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
### This example demonstrates how to use MIRkey or eHSM Hardware Security Modules to sign a PDF file
### Some screenshots of the sample app
#### Main screen
![Image of main screen](images/main.png)#### PIN entry
![Enter PIN](images/enter-pin.png)#### Logged in
![Logged In](images/logged-in.png)#### Test certificate creation
![Test cert dialog](images/certinfo.png)#### PDF signed
![Signed](images/signed.png)#### Prerequisites:
* Initialized MIRkey or eHSM with a user PIN set (instructions available [here](https://ellipticsecure.com/developer/documentation/ehsm/quick-start-guide.html)).
* Java 9 or later to build.
* Java 8 or later with JavaFx required to run.
#### Test instructions
1. ```bash
mvn package
```
2. ```bash
java -jar target/signer-app-0.0.5-SNAPSHOT-jar-with-dependencies.jar
```
3. If you do not have a certificate on your device, use the "Generate Test Certificate" button to test.
##### Note: You may need to set the EHSM_LIBRARY environment variable if your libehsm.so/dylib/dll is not in a standard location.