Searched refs:apdu (Results 1 – 6 of 6) sorted by relevance
53 public static void execute(byte[] apdu) throws IllegalArgumentException { in execute() argument54 if (apdu.length < CMD_APDU_LENGTH_CASE1) { in execute()55 throw new IllegalArgumentException("Invalid length for command (" + apdu.length + ")."); in execute()57 checkCla(apdu[OFFSET_CLA]); in execute()58 checkIns(apdu[OFFSET_INS]); in execute()60 if (apdu.length == CMD_APDU_LENGTH_CASE1) { in execute()64 if (apdu.length == CMD_APDU_LENGTH_CASE2) { in execute()65 checkLe((int) 0x0FF & apdu[OFFSET_P3]); in execute()69 if (apdu[OFFSET_P3] != (byte) 0x00) { in execute()70 int lc = ((int) 0x0FF & apdu[OFFSET_P3]); in execute()[all …]
159 byte[] apdu = new byte[length]; in toBytes()162 apdu[index] = (byte) mCla; in toBytes()164 apdu[index] = (byte) mIns; in toBytes()166 apdu[index] = (byte) mP1; in toBytes()168 apdu[index] = (byte) mP2; in toBytes()171 apdu[index] = (byte) mLc; in toBytes()173 System.arraycopy(mData, 0, apdu, index, mData.length); in toBytes()177 apdu[index] += (byte) mLe; // LE in toBytes()180 return apdu; in toBytes()185 CommandApdu apdu = new CommandApdu(); in clone() local[all …]
50 public ApduFilter(byte[] apdu, byte[] mask) { in ApduFilter() argument51 if (apdu.length != 4) { in ApduFilter()57 mApdu = apdu; in ApduFilter()82 public void setApdu(byte[] apdu) { in setApdu() argument83 if (apdu.length != 4) { in setApdu()86 mApdu = apdu; in setApdu()
73 CommandApdu apdu = (CommandApdu) GET_ALL_CMD.clone(); in readAllAccessRules() local74 ResponseApdu response = send(apdu); in readAllAccessRules()105 apdu = (CommandApdu) GET_NEXT_CMD.clone(); in readAllAccessRules()106 apdu.setLe(le); in readAllAccessRules()108 response = send(apdu); in readAllAccessRules()134 CommandApdu apdu = (CommandApdu) GET_REFRESH_TAG.clone(); in readRefreshTag() local135 ResponseApdu response = send(apdu); in readRefreshTag()
281 public void setApdu(byte[] apdu) { in setApdu() argument282 this.mApdu = apdu; in setApdu()289 public void setApdu7816(byte[] apdu) { in setApdu7816() argument290 this.mApdu7816 = apdu; in setApdu7816()
1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...