Class Index | File Index

Classes


Class eIDAccessController


Defined in: eidaccesscontroller.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Create an access controller for the eID application
Method Summary
Method Attributes Method Name and Description
 
checkBasicAccess(ci, apdu)
Check basic access conditions for eID application
 
checkBit(ci, apdu, bit)
Check if access to special function is allowed
 
checkFileReadAccess(ci, apdu, node)
Check if read access to file system node is allowed
 
checkFileWriteAccess(ci, apdu, node)
Check if write access to file system node is allowed
 
checkRight(ci, apdu, bit)
Check if access to special function is allowed
Class Detail
eIDAccessController()
Create an access controller for the eID application
Method Detail
{boolean} checkBasicAccess(ci, apdu)
Check basic access conditions for eID application
Parameters:
{eIDCommandInterpreter} ci
the command interpreter
{APDU} apdu
the APDU used to access the object
Returns:
true if access is allowed based on basic checks

{boolean} checkBit(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

{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} checkFileWriteAccess(ci, apdu, node)
Check if write 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

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jun 30 2014 21:40:00 GMT+0200 (CEST)