In order to thank you for all members' support of our website, we are holding new events - Getting Free Samples by Paying Freight only.
Want to get free samples? Please check this post for more details.

Search found 74 matches: re:

Searched query: re

by horse dream
Wed Mar 16, 2016 11:27 pm
Forum: Card Products
Topic: Get CryptoException.ILLEGAL_VALUE when generating ECC key pair
Replies: 2
Views: 841

Re: Get CryptoException.ILLEGAL_VALUE when generating ECC key pair

For JCOP card, you should set ECC domain parameters for both the public key and private key before genKeyPair() . FYI: Check the code below to set the parameters. pubKey.setFieldFP(p, (short) 0, (short) p.length); pubKey.setA(a, (short) 0, (short) a.length); pubKey.setB(b, (short) 0, (short) b.lengt...
by horse dream
Mon Mar 14, 2016 4:06 am
Forum: Communication
Topic: Token Key
Replies: 1
Views: 1043

Re: Token Key

The DM Tokens are signatures of one or more DM functions (loading application code, installing Applications and extraditing Applications) generated by the Card Issuer and used to provide the Card Issuer the control over these Card Content changes. Tokens are required when the Issuer Security Domain ...
by horse dream
Mon Mar 14, 2016 3:45 am
Forum: Algorithm School
Topic: Is there any AES keys with 192 and 256 bits
Replies: 1
Views: 776

Re: Is there any AES keys with 192 and 256 bits

The cipher object does not have a key size attribute. Only the key object has the key size. You can use an AES cipher with all the three key sizes.
by horse dream
Mon Mar 14, 2016 3:30 am
Forum: Questions & Answers
Topic: Got 0x6444 when calling buildKey()
Replies: 1
Views: 613

Re: Got 0x6444 when calling buildKey()

Maybe you should try to use RSA1024 or RSA512. It may be a problem with supported algorithms and non-standard response codes.
by horse dream
Wed Mar 02, 2016 6:15 am
Forum: Algorithm School
Topic: Get a CryptoException when creating signature
Replies: 1
Views: 642

Re: Get a CryptoException when creating signature

Remember to initialize the signature instance with a signing key.

If convenient, could you post the complete code of your applet?
by horse dream
Wed Mar 02, 2016 5:25 am
Forum: Questions & Answers
Topic: Find the code of pkcs#15 applet
Replies: 1
Views: 775

Re: Find the code of pkcs#15 applet

FYI:
There is an opensource applet- MUSCLE Applet. viewtopic.php?f=40&t=7
It is the implementation of PKCS#15. Just try it.
by horse dream
Wed Mar 02, 2016 5:17 am
Forum: Questions & Answers
Topic: write an applet for automatic switch Dual IMSI
Replies: 1
Views: 670

Re: write an applet for automatic switch Dual IMSI

A1:
Roaming is detected when current MCC and MNC is different with Home MCC and MNC, then the applet may decide to switch or not based on the requirement.
A2:
You can check the related specification defined by telco operator!
by horse dream
Tue Feb 23, 2016 1:39 am
Forum: Questions & Answers
Topic: Load mifare application to dual interface java card
Replies: 3
Views: 831

Re: Load mifare application to dual interface java card

These are pseudo APDUs interpreted by the smart card reader. The mifare protocol is special, it has nothing to do with APDU.

BTW, if your java card supports mifare, ask the card manufacturer to assist you on how to access the mifare memory zone from javacard.
by horse dream
Tue Jan 26, 2016 3:25 am
Forum: Questions & Answers
Topic: I got 0x6985 and 0x611C from my java card in different scenario.
Replies: 5
Views: 1125

Re: I got 0x6985 and 0x611C from my java card in different scenario.

Hi @ horse dream. Thank your for your answer. But I know this. My main question is why I got different status word("6985", "611C") when I send the same command via my java code and APDUTool. For java, there is a "feature" in a package javax.smartcardio when it is worki...
by horse dream
Tue Jan 26, 2016 3:14 am
Forum: Questions & Answers
Topic: I got 0x6985 and 0x611C from my java card in different scenario.
Replies: 5
Views: 1125

Re: I got 0x6985 and 0x611C from my java card in different scenario.

When it returns "61 1C" response, you need to send "Get response" APDU command.
>> 00 C0 00 00 1C
JavaCard OS : Disclaimer