Class eIDAccessController
Object
|
+--AccessController
|
+--eIDAccessController
- class
eIDAccessController
- extends AccessController
Defined in eidaccesscontroller.js
Field Summary |
Object |
name
|
name
Object name
eIDAccessController
eIDAccessController()
Create an access controller for the eID application
checkBasicAccess
boolean checkBasicAccess(<eIDCommandInterpreter> ci, <APDU> apdu)
Check basic access conditions for eID application
Parameters:
ci
- the command interpreter
apdu
- the APDU used to access the object
Returns:
true if access is allowed based on basic checks
checkBit
boolean checkBit(<eIDCommandInterpreter> ci, <APDU> apdu, bit)
Check if access to special function is allowed
Parameters:
ci
- the command interpreter
apdu
- the APDU used to access the object
Returns:
true if access is allowed
checkFileReadAccess
boolean checkFileReadAccess(<eIDCommandInterpreter> ci, <APDU> apdu, <FSNode> node)
Check if read access to file system node is allowed
Parameters:
ci
- the command interpreter
apdu
- the APDU used to access the object
node
- the file system object
Returns:
true if access is allowed
checkFileWriteAccess
boolean checkFileWriteAccess(<eIDCommandInterpreter> ci, <APDU> apdu, <FSNode> node)
Check if write access to file system node is allowed
Parameters:
ci
- the command interpreter
apdu
- the APDU used to access the object
node
- the file system object
Returns:
true if access is allowed
checkRight
boolean checkRight(<eIDCommandInterpreter> ci, <APDU> apdu, bit)
Check if access to special function is allowed
Parameters:
ci
- the command interpreter
apdu
- the APDU used to access the object
Returns:
true if access is allowed
Documentation generated by
JSDoc on Tue Sep 3 22:29:43 2013