such as:
I send "10DB3FFF244D82039FB600007F48159100928180938180948180958180968180978201005F48820380" It will throw exception in this codes:
Code: Select all
"if (Util.arrayCompare(buffer, ISO7816.OFFSET_CDATA, expectedRSAKeyImportFormat, (short) 0,
(short) expectedRSAKeyImportFormat.length) != 0) {
ISOException.throwIt(ISO7816.SW_DATA_INVALID);
}"
But If I send "10DB3FFF234D82039F00007F48159100928180938180948180958180968180978201005F48820380" It will occurre error in here:
Code: Select all
"KeyPair key = getKey(commandChainingBuffer[TEMP_PUT_KEY_KEY_TYPE]);"
And I do not know how to do?