Class TransparentEF
Class implementing a transparent EF
Defined in: TransparentEF.js.
Constructor Attributes | Constructor Name and Description |
---|---|
TransparentEF(fcp, contents)
Create a file system node that represents a transparent EF
|
Method Attributes | Method Name and Description |
---|---|
readBinary(apdu, offset, length)
Reads data from a transparent EF
|
|
updateBinary(apdu, offset, data)
Update data in transparent EF
|
Class Detail
TransparentEF(fcp, contents)
Create a file system node that represents a transparent EF
- Parameters:
- {FCP} fcp
- the FCP for this EF
- {ByteString} contents
- the contents for this EF
Method Detail
{ByteString}
readBinary(apdu, offset, length)
Reads data from a transparent EF
- Parameters:
- {APDU} apdu
- the APDU used for reading
- {Number} offset
- the offset to read from
- {Number} length
- the length in bytes or 0 for all in short APDU or 65536 for all in extended APDUs
- Returns:
- the data read
updateBinary(apdu, offset, data)
Update data in transparent EF
- Parameters:
- {APDU} apdu
- the APDU used for updating
- {Number} offset
- the offset to update
- {ByteString} data
- the data to write into the EF