Posted By:
Damien_Sauveron
Posted On:
Tuesday, January 14, 2003 03:24 PM
If I understood well your question, here is my answer.
1) When you have the code
public Shareable getShareableInterfaceObject(AID clientAID, byte parameter) {
ISOException.throwIt((short)0x9999);
return this;
}
Does the card return 0x9999 ? If yes, you access to the applet server and skip at 2). If not, verify the AIDof the server. If it is good, that can be a bug in the implementation of JCOP20, but i don't think.
2) Are you sure that your applet server implements JavaLoyaltyInterface ? (applet with AID 06050403020101)
And are you sure the JavaLoyaltyInterface extends the Shareable interface ?
3) Are you sure that the exception is not throws after the return of the
JCSystem.getAppletShareableInterfaceObject ? Use also
ISOException.throwIt to confirm this option.
SW 6F00 is the result of an unknown exception but on test card often security exception are map on this SW in order not to give information to an attacker or don't mark this event in the security log.
hope this helps,
Damien Sauveron