Search found 15 matches: re:
Searched query: re
- Mon Feb 26, 2018 1:26 am
- Forum: Solutions
- Topic: About LoyaltyCard Applet?
- Replies: 3
- Views: 37277
Re: About LoyaltyCard Applet?
In the process of learning the source code, if there is not very well understand some function, you can refer to the Java Card API Specification, or direct enter F12 jump to the definition of function.
- Mon Dec 19, 2016 4:31 am
- Forum: Reader
- Topic: SDK of readers
- Replies: 1
- Views: 6713
Re: SDK of readers
Excellent. It's very useful to collect all the readers SDK in one topic. Thanks for your work.
- Thu Dec 03, 2015 2:01 am
- Forum: Questions & Answers
- Topic: Connect Virtual Card Reader failed?
- Replies: 3
- Views: 9273
Re: Connect Virtual Card Reader failed?
I learned it from here. It's a vedio about how to use Virtual Card Reader .
- Tue Dec 01, 2015 6:13 am
- Forum: Other Tools
- Topic: PassportReader
- Replies: 5
- Views: 32427
Re: PassportReader
Is this tool supports reading my real passport, please?
- Wed Nov 04, 2015 8:15 am
- Forum: Questions & Answers
- Topic: two questions about waitExtension
- Replies: 1
- Views: 6645
Re: two questions about waitExtension
1. As far as I know, almost all the cards have implemented automatic timer mechanism. 2. You may use this method waitExtension() The related description in the API doc is as follows: public static void waitExtension() throws APDUException Note: 1-In T=0 protocol, a NULL procedure byte is sent to res...
- Tue Oct 20, 2015 5:46 am
- Forum: Questions & Answers
- Topic: How to let APDU buffer accept 200 bytes of data
- Replies: 6
- Views: 14691
Re: How to let APDU buffer accept 200 bytes of data
To read incoming data more than 128 bytes you may need to call APDU.receiveBytes() to accept the rest vytes of data.
Similarly, for sending data, APDU.sendBytes() might be needed to send longer data.
Similarly, for sending data, APDU.sendBytes() might be needed to send longer data.
- Thu Oct 08, 2015 6:07 am
- Forum: Questions & Answers
- Topic: java card applet development :transmit a value directly or use a final variable
- Replies: 1
- Views: 5926
Re: java card applet development :transmit a value directly or use a final variable
The second method is better than the first one. Moreover, if you want to change the value, you only need to change the value in definition command.
- Thu Oct 08, 2015 5:18 am
- Forum: Questions & Answers
- Topic: could somebody give me a intuitive description about APDU commands
- Replies: 2
- Views: 7520
Re: could somebody give me a intuitive description about APDU commands
An application protocol data unit (APDU) is the communication unit between a smart card reader and a smart card. There are two categories of APDUs: command APDUs and response APDUs. 1.command APDU APDU_command.png The first four sections, CLA , INS , P1 and P2 are mandatory in all APDU commands and ...
- Tue Jun 23, 2015 1:37 am
- Forum: Algorithm School
- Topic: Generate HMAC_SHA256 Signature in JavaCard Applet
- Replies: 4
- Views: 12051
Re: Generate HMAC_SHA256 Signature in JavaCard Applet
Before calling getInstance() method, it would be better to check CryptoException first . try { Signature.getInstance(Signature.ALG_HMAC_SHA_256, false); } catch (CryptoException e) { if (e.getReason() == CryptoException.NO_SUCH_ALGORITHM) { // Do something to treat algorithm absebce } } Thank you f...
- Mon Jun 22, 2015 11:36 pm
- Forum: Algorithm School
- Topic: Generate HMAC_SHA256 Signature in JavaCard Applet
- Replies: 4
- Views: 12051
Re: Generate HMAC_SHA256 Signature in JavaCard Applet
Your card should support Signature.ALG_HMAC_SHA_256 first. In most cases, a javacard wouldn't support all the cryptographic algorithms. If your card support this algorithms,you can implement HMAC by the following way. K = HMAC key of length 32 ipad = the byte 0x36 repeated 32 times opad = the byte 0...