How to solve the problem with PSS scheme
Posted: Sat Mar 19, 2016 6:07 am
I am trying to sign a message with the following Siganture. I know that my card support this signature, but I got the exception NO_SUCH_ALGORITHM
And this one can work fine.
So I guess that there is some problem with the PSS scheme. How can I solve this problem to make it work?
Update: my java card version 3.0.1
Code: Select all
Signature sig = Signature.getInstance(Signature.ALG_RSA_SHA_256_PKCS1_PSS, false);
And this one can work fine.
Code: Select all
Signature sig = Signature.getInstance(Signature.ALG_RSA_SHA_256_PKCS1, false);
So I guess that there is some problem with the PSS scheme. How can I solve this problem to make it work?
Update: my java card version 3.0.1