Beispiel #1
0
 protected boolean resetTag(Iso7816.StdTag tag) throws IOException {
   return tag.selectByID(DFI_MF).isOkey() || tag.selectByName(DFN_PSE).isOkey();
 }
Beispiel #2
0
 protected boolean selectMainApplication(Iso7816.StdTag tag) throws IOException {
   final byte[] aid = getMainApplicationId();
   return ((aid.length == 2) ? tag.selectByID(aid) : tag.selectByName(aid)).isOkey();
 }