Class LinearEF
Class implementing linear EFs
Defined in: LinearEF.js.
Constructor Attributes | Constructor Name and Description |
---|---|
LinearEF(the, records)
Creates a LinearEF
|
Method Attributes | Method Name and Description |
---|---|
readRecord(apdu, recno, qualifier, length)
Reads a record from a linear EF
|
Class Detail
LinearEF(the, records)
Creates a LinearEF
- Parameters:
- {FCP} the
- file control parameter
- {ByteString[]} records
- the array of records
Method Detail
{ByteString}
readRecord(apdu, recno, qualifier, length)
Reads a record from a linear EF
- Parameters:
- {APDU} apdu
- the APDU used for reading
- {Number} recno
- the record number
- {Number} qualifier
- the qualifier as encoded in bit b3 - b1 of P1
- {Number} length
- the length in bytes or 0 for all in short APDU or 65536 for all in extended APDUs
- Returns:
- the data read