Klaus L'Imbecile
December 29th, 2008, 20:37
Hi Folks,
I want to use the Java Smart Card I/O API to do the following on my SIM Card:
1) Check PIN, PIN2, PUK Codes validity
2) Change PIN, PIN2, and PUK codes.
Essentially, I want to provide an implementation to the following interface:
public interface GsmSimAcessAPI{
boolean checkPIN(String pin);
boolean checkPIN2(String pin2);
boolean checkPUK(String puk);
void changePIN(String newPin, String oldPin);
void changePIN2(String newPin2, String oldPin2);
void changePUK(String newPuk, String oldPuk);
}
The skeleton code for acessing the SIM Card is available in the folloing thread:
http://x86.sun.com/thread.jspa?messageID=10155660
Now, what is missing are the APDU commands. Can you guys help me with this?
Thanks,
Klaus.
I want to use the Java Smart Card I/O API to do the following on my SIM Card:
1) Check PIN, PIN2, PUK Codes validity
2) Change PIN, PIN2, and PUK codes.
Essentially, I want to provide an implementation to the following interface:
public interface GsmSimAcessAPI{
boolean checkPIN(String pin);
boolean checkPIN2(String pin2);
boolean checkPUK(String puk);
void changePIN(String newPin, String oldPin);
void changePIN2(String newPin2, String oldPin2);
void changePUK(String newPuk, String oldPuk);
}
The skeleton code for acessing the SIM Card is available in the folloing thread:
http://x86.sun.com/thread.jspa?messageID=10155660
Now, what is missing are the APDU commands. Can you guys help me with this?
Thanks,
Klaus.