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
the max size of atomic transaction buffer
the max size of atomic transaction buffer
As we all know, atomic transaction buffer is used to log changes in order to help JCRE rollback in case of failed command. But I don't know the max size of this buffer. Could I just beginTransaction and never invoke commitTransaction ?
Thanks
Thanks
Re: the max size of atomic transaction buffer
It‘s set by the card manufacturer.
There are several methods in the JCSystem class that can do this - getMaxCommitCapacity and getUnusedCommitCapacity.
There are several methods in the JCSystem class that can do this - getMaxCommitCapacity and getUnusedCommitCapacity.
Re: the max size of atomic transaction buffer
wousim wrote:It‘s set by the card manufacturer.
There are several methods in the JCSystem class that can do this - getMaxCommitCapacity and getUnusedCommitCapacity.
If I know nothing about the max size of this buffer, Can I just beginTransaction and never invoke commitTransaction ?
Re: the max size of atomic transaction buffer
You'd better not do this! You may either receive 0x6F00 or have your transaction rolled back.
Who is online
Users browsing this forum: No registered users and 78 guests