I want to perform a digital signature using a SmartCard and SHA256withRSA.
My Smart Card is from InfoCamere and it has 2 private RSA signing keys. The first key use SHA1withRSA and the second (labelled with DSPrivateKey#0) use SHA256withRSA.
I select the second key (setting the KEY_LABEL as in your example code) but the signature is performed using SHA1withRSA. How can I use SHA256?
Thanks
Simone
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I want to perform a digital signature using a SmartCard and SHA256withRSA.
My Smart Card is from InfoCamere and it has 2 private RSA signing keys. The first key use SHA1withRSA and the second (labelled with DSPrivateKey#0) use SHA256withRSA.
I select the second key (setting the KEY_LABEL as in your example code) but the signature is performed using SHA1withRSA. How can I use SHA256?
Thanks
Simone