Sample application to provide cryptographic operations using a HSM.
This application is under development. Currently supported mechanisms are follows,
- Key Generation
- AES key generation.
- RSA key pair generation.
- Encryption
- AES encryption.
- RSA encryption.
- Decryption
- AES decryption.
- RSA decryption.
- Full Sign/Verify
- RSA SHA-1
- RSA SHA-256
- RSA SHA-384
- RSA SHA-512
- RSA MD5
- Digesting
- SHA-1
- SHA-256
- SHA-384
- SHA-512
- MD5
You can use the Utimaco simulator for testing purposes. Refer to this blog for simulator configurations.
You need to add IAIK PKCS #11 wrapper to your project as a dependency. You can find the way to do it in following blog.
Configure pkcs11Sample.properties file as required and rename the file to pkcs11.protperties.