Class ePassAccessController
Defined in: eidaccesscontroller.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Create an access controller for the ePass application
|
Method Attributes | Method Name and Description |
---|---|
checkCommandAccess(apdu, apdu)
Check if command is allowed
|
|
checkFileReadAccess(ci, apdu, node)
Check if read access to file system node is allowed
|
|
checkRight(ci, apdu, bit)
Check if access to special function is allowed
|
Method Detail
{boolean}
checkCommandAccess(apdu, apdu)
Check if command is allowed
- Parameters:
- {APDU} apdu
- the APDU to check
- apdu
- Returns:
- true if access is allowed
{boolean}
checkFileReadAccess(ci, apdu, node)
Check if read access to file system node is allowed
- Parameters:
- {eIDCommandInterpreter} ci
- the command interpreter
- {APDU} apdu
- the APDU used to access the object
- {FSNode} node
- the file system object
- Returns:
- true if access is allowed
{boolean}
checkRight(ci, apdu, bit)
Check if access to special function is allowed
- Parameters:
- {eIDCommandInterpreter} ci
- the command interpreter
- {APDU} apdu
- the APDU used to access the object
- bit
- Returns:
- true if access is allowed