Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Sandeep Choudhary   on Oct 10 In Java Category.

  
Question Answered By: MUHAMMED MUFTY   on Oct 10

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.















































































Share: