JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
Search found 49 matches: 6f00
Searched query: 6f00
- Thu Aug 24, 2017 3:50 am
- Forum: Questions & Answers
- Topic: How to catch the reason of error 6F00
- Replies: 7
- Views: 28434
Re: How to catch the reason of error 6F00
Thank you very much for your help, BrooksIQ. It saved all my day. Much appreciated.
- Thu Aug 24, 2017 3:16 am
- Forum: Questions & Answers
- Topic: How to catch the reason of error 6F00
- Replies: 7
- Views: 28434
Re: How to catch the reason of error 6F00
mypin.update(buffer, buffer[ISO7816.OFFSET_CDATA], buffer[ISO7816.OFFSET_LC]);
The second parameter of OwnerPIN.update() is the starting offset of your pin in the given array.
In your example command, your are using the content of the APDU buffer at offset 5. This may be the problem.
The second parameter of OwnerPIN.update() is the starting offset of your pin in the given array.
In your example command, your are using the content of the APDU buffer at offset 5. This may be the problem.
- Thu Aug 24, 2017 2:59 am
- Forum: Questions & Answers
- Topic: How to catch the reason of error 6F00
- Replies: 7
- Views: 28434
Re: How to catch the reason of error 6F00
Process method public void process(APDU apdu){ byte buffer[] = apdu.getBuffer() ; byte byesRead = (byte) apdu.setIncomingAndReceive(); if ( ( buffer[ISO7816.OFFSET_CLA] == 0) && (buffer[ISO7816.OFFSET_INS] == (byte) 0xA4)) return; switch ( buffer[ISO7816.OFFSET_INS] ){ case GET_INS: get_ins(...
- Wed Aug 23, 2017 10:24 pm
- Forum: Questions & Answers
- Topic: How to catch the reason of error 6F00
- Replies: 7
- Views: 28434
Re: How to catch the reason of error 6F00
You may also try to add a try/catch clause to confirm which exception is thrown.
.
.
- Wed Aug 23, 2017 10:22 pm
- Forum: Questions & Answers
- Topic: How to catch the reason of error 6F00
- Replies: 7
- Views: 28434
Re: How to catch the reason of error 6F00
0x6F00 is usually returned by the card when an exception is not caught.
Could you show us your process method ?
Could you show us your process method ?
- Wed Aug 23, 2017 6:48 am
- Forum: Questions & Answers
- Topic: How to catch the reason of error 6F00
- Replies: 7
- Views: 28434
Re: How to catch the reason of error 6F00
Your problem may be caused by this line: byte byteRead = (byte) apdu.setIncomingAndReceive(); Thank you so much for your pointer. Now I can check my pin successfully.But I still have another question. I wrote a simple method to update the PIN. I can update the pin, but when I call the verify method...
- Wed Aug 23, 2017 6:24 am
- Forum: Questions & Answers
- Topic: How to catch the reason of error 6F00
- Replies: 7
- Views: 28434
Re: How to catch the reason of error 6F00
Your problem may be caused by this line:
byte byteRead = (byte) apdu.setIncomingAndReceive();
byte byteRead = (byte) apdu.setIncomingAndReceive();
- Tue Aug 22, 2017 11:44 pm
- Forum: Questions & Answers
- Topic: How to catch the reason of error 6F00
- Replies: 7
- Views: 28434
How to catch the reason of error 6F00
When I debugged my applet, it always returned error status word 0x6F00. Is it possible to catch the reason of this error ? OwnerPIN mypin; private FirstApp(byte bArray[], short bOffset, byte bLength){ backSomething = new byte[BS_LENGTH]; mypin = new OwnerPIN(PIN_TRY_LIMIT, MAX_PIN_SIZE); byte pin[]=...
- Mon Aug 21, 2017 5:13 am
- Forum: Questions & Answers
- Topic: Issue about generating 2048 bytes keys with RSA
- Replies: 2
- Views: 11026
Re: Issue about generating 2048 bytes keys with RSA
A status word of 0x6F00 is an Unknown Error.
You could try inserting debug code to see what line of code is failing. Add the following line of code near the start and keep moving/redploying and see when you start getting 6F00 instead of 1234.
You could try inserting debug code to see what line of code is failing. Add the following line of code near the start and keep moving/redploying and see when you start getting 6F00 instead of 1234.
Code: Select all
ISOException.throwIt((short)0x1234);
- Thu Aug 17, 2017 6:04 am
- Forum: Questions & Answers
- Topic: Error 6F00 when generating and verifying a signature
- Replies: 2
- Views: 11183
Re: Error 6F00 when generating and verifying a signature
I changed the sig_buffer to 200, and the sign function is working now
,but the verify function still throws error 0x6F00.
