licel / jcardsim

https://jcardsim.org
222 stars 123 forks source link

Add support for raw ecdsa without hashing #201

Closed swissbit-csteuer closed 1 year ago

swissbit-csteuer commented 1 year ago

This PR adds support for RAW ECDSA (no hashing). It basically allows applets to create a signature object like this:

Signature.getInstance(MessageDigest.ALG_NULL, Signature.SIG_CIPHER_ECDSA, Cipher.PAD_NULL, false);