Hello Hendrik,
Thanks for the hint. The thing is that, with a proprietary applet,
2048 bit keys seem to work fine...
Best regards,
Joao
Hendrik Tews <[email protected]> wrote:
1. The card generates a 2048 bit RSA keypair, but when trying, for
example, to encrypt data with the public key the card seems to throw
and SW_UNSUPPORTED_FEATURE exception - this problem doesn't happen
with 1024 bit keys.
With NXP JCOP cards I have the following experience: even if it
is printed on the backside that they support RSA up to 2048 bits,
their largest key size is 1952. For bigger key sizes either
RSAPublicKey.setModulus throws CryptoException.ILLEGAL_VALUE or
RSAPublicKey.setExponent throws CryptoException.ILLEGAL_VALUE.
I would try slightly smaller keys.
2. The random number generator doesn't seem to work... (even though
the card supports it).
No idea here.
Bye,
Hendrik
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle
_______________________________________________
Muscle mailing list
[email protected]
http://lists.drizzle.com/mailman/listinfo/muscle