This discussion is archived
3 Replies Latest reply: Dec 3, 2012 6:47 PM by safarmer RSS

Signature with PSS scheme

966781 Newbie
Currently Being Moderated
Hi,

iam trying to sign a message with the following Siganture:
Signature sig = Signature.getInstance(Signature.ALG_RSA_SHA_256_PKCS1_PSS, false);
now iam getting a NO_SUCH_ALGORITHM exception.
iam using JavaCard 3.0.1 and as far as i know this Signature is supported.

this one works fine:
Signature sig = Signature.getInstance(Signature.ALG_RSA_SHA_256_PKCS1, false);
so the problem seems to be the PSS scheme.
anyone can help me ? iam not sure wheres my problem is.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points