I am trying to develop a basic applet that performs a HMAC SHA-256 operation.
I am debugging the applet with pyApdutool and JCIDE.
When executing this line :
Code: Select all
signatureAlgorithm = Signature.getInstance(Signature.ALG_HMAC_SHA256, false);
I tried with other values like Signature.ALG_HMAC_SHA1 and Signature.ALG_HMAC_MD5, and I still get an exception.
I am using JavaCard 2.2.2 API.
Could anybody tell me what am I missing ?
Thanks very much.
Franck