JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

How to set SW without throwing exception

JavaCard Applet Development Related Questions and Answers.
Joevictor
Posts: 9
Joined: Tue Oct 20, 2015 6:05 am
Points :22
Contact:

How to set SW without throwing exception

Post by Joevictor » Thu Nov 26, 2015 7:13 am

I wonder to write some code to implement a part of global Platform in my application. I need to send an APDU with its data and set SW to spatial value.
My question is how I can SET THE SW without using IsoException.throwIt(). Does anyone know that?

User avatar
UNKNwYSHSA
Posts: 630
Joined: Thu May 21, 2015 4:05 am
Points :3055
Contact:

Re: How to set SW without throwing exception

Post by UNKNwYSHSA » Thu Nov 26, 2015 11:48 am

You can use ISOException.throwIt(sw) after you sendBytes() method called.
sense and simplicity

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: Google [Bot] and 15 guests

JavaCard OS : Disclaimer