Problematic JCSystem.beginTransaction when used with generating RSA keys
Posted: Tue Nov 01, 2016 5:08 am
Anyone have tried to generate RSA2048 bit keys while encapsulating the RSA keygen within the begin and commit transaction statements and returns a
out of memory status word or something along that line when used on an NXP JCOP 2.4.2 card ?
out of memory status word or something along that line when used on an NXP JCOP 2.4.2 card ?
Code: Select all
JCSystem.beginTransaction();
keyPair = new KeyPair(KeyPair.ALG_RSA, (short) KeyBuilder.LENGTH_RSA_2048);
keyPair.genKeyPair();
JCSystem.commitTransaction();