Search found 3 matches
- Wed Jul 17, 2019 6:31 am
- Forum: Applets Development Guide
- Topic: How to throw an exception in my applet
- Replies: 5
- Views: 19640
Re: How to throw an exception in my applet
Does it only throw 0x6F00? How one can throw the reason for an specific exception? you can throw any short value . such as ISOException.throwIt((short)0x6899); or ISOException.throwIt((short)0x2222); suppose that I do an encryption without first generating the key (run time error), does'nt the func...
- Tue Jun 12, 2018 4:24 am
- Forum: Algorithm School
- Topic: How to get V value when ECC signature?
- Replies: 0
- Views: 17500
How to get V value when ECC signature?
In javacard OS,the returns value of Signature function only contain R and S.
How can I get the V value by R,S and public Key ?
How can I get the V value by R,S and public Key ?
- Tue Jun 12, 2018 3:10 am
- Forum: Applets Development Guide
- Topic: How to throw an exception in my applet
- Replies: 5
- Views: 19640
Re: How to throw an exception in my applet
There is a special function for exception handling in class "ISOException": public static void throwIt(short sw) {} you could use it. Firstly, you need to import the class "ISOException" in your Applet by using the command below: "import javacard.framework.ISOException;"...