selectEF method

Future<Uint8List?> selectEF({
  1. required Uint8List efId,
  2. int p2 = 0,
  3. int cla = ISO7816_CLA.NO_SM,
  4. int ne = 0,
})

Selects EF under current DF by efId. Can throw ICCError or ComProviderError.

Implementation

Future<Uint8List?> selectEF(
    {required Uint8List efId,
    int p2 = 0,
    int cla = ISO7816_CLA.NO_SM,
    int ne = 0}) async {
  return await selectFile(
      cla: cla, p1: ISO97816_SelectFileP1.byEFID, p2: p2, data: efId, ne: ne);
}