private Wallet (byte[] bArray,short bOffset,byte
bLength){
public static void install(by
te[] bArray,
short bOffset, byte bLength){
public boolean select() {
public void deselect() {
byte buffer[] = apdu.get Buffer();
if (buffer[ISO7816.OFFSET_CLA] != Wallet_CLA)
ISOException.throwIt
(ISO7816.SW_CLA_NOT_SUPPORTED);
switch (buffer[ISO7816.OFFSET_INS]) {
case GET_BALANCE: getBalance(apdu);
return;
case DEBIT: debit(apdu);
return;
case CREDIT: credit(apdu);
return;
case VERIFY: verify(apdu);
return;
default: ISOException.throwIt
(ISO7816.SW_INS_NOT_SUPPORTED);
}
} // end of process method.