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