R
R
romartyn2016-03-24 13:17:03
JavaScript
romartyn, 2016-03-24 13:17:03

JavaCard: how to send data to outside?

I am developing an applet on JavaCard (while in the jcardsim.org emulator).
I have data in the form of a string (byte array) that I have collected in the application code.
And now I want to send to my server in any available way (except SMS).
Is it possible to open a socket (tcp, udp) ?
Looked around www.oracle.com/technetwork/java/embedded/javacard /... , www.win.tue.nl/pinpasjc/docs/apis/jc222 but didn't find anything.
But, here I found a mention of something like STK_CMD_SEND_DATA (in the same place about receiving data, opening and closing a channel), but did not understand how to use it in practice.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Kornachev, 2016-03-24
@romartyn

the javacard specification itself (versions 2.2 and below 100%, and even 3+, as far as I remember) does not provide the ability to open sockets and any other similar types of connection. so do not even dig in this direction.
Usually the card/sim developer provides all the specific libraries and SDKs. But as a rule, no one will give you anything if you do not officially cooperate with them. In this area, any information other than general information (javacard, gp, op) is classified as a trade secret. If the libraries are not provided, then it is not possible to use the full functionality of the map. Please contact the map developer for any questions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question