How to compute the digital signature in this Applet?
Posted: Sat Nov 21, 2015 6:04 am
I'm a beginner of javacard, and study this applet. I want to sign a data, but no matte what I send the APDU command, it always returns 0x6985, this is why?
And I already send verify command before signature .
It throws Exception in here:
And I already send verify command before signature .
It throws Exception in here:
Code: Select all
if (!sig_key.getPrivate().isInitialized())
ISOException.throwIt(SW_CONDITIONS_NOT_SATISFIED);