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
How to create a method to store transactions logs in java card
How to create a method to store transactions logs in java card
I am programming an applet in JCIDE. In fact, I want to create a method to store transactions logs in java card and call it from my outside application. The problem is I don't know how to get started with this issue. Any pointers?
Re: How to create a method to store transactions logs in java card
Just create a byte[] with the size that equals to the transactions size and then store data into that array by TLV and decode it using the TLV when receiving on host side.
-
- Posts: 54
- Joined: Mon Jul 20, 2015 1:08 pm
- Points :510
- Contact:
Re: How to create a method to store transactions logs in java card
If you only need to keep a certain number, use a circular file. When it fills it starts overwriting the oldest. If you have to keep them all then a record based file. It also depends on if they are the same length or varying lengths.
The world is full of stories;
And sometimes they permit themselves to be told.
~Cherokee Proverb
And sometimes they permit themselves to be told.
~Cherokee Proverb
Who is online
Users browsing this forum: Google [Bot] and 56 guests