Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email firstname.lastname@example.org
From: Hendrik Tews (tewscs.ru.nl)
Date: Thu Mar 05 2009 - 02:26:59 CST
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.
Muscle mailing list