I'm using java card 3.0.4. when i create an instance of Cipher (from javacardx.crypto package) like bellow:
Cipher.getInstance(Cipher.ALG_AES_BLOCK_128_CBC_NOPAD, false);
i receive an error. No matter what algorithm I use, same exception happens.
Cipher.getInstance(Cipher.ALG_RSA_NOPAD, false); Cipher.getInstance(Cipher.ALG_AES_BLOCK_128_ECB_NOPAD, false); ...