|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object | +--CommandInterpreter
Class implementing a command interpreter that handles ISO 7816-4 command APDUs
Defined in commandinterpreter.js
| Field Summary | |
Object |
fileSelector
|
| Constructor Summary | |
CommandInterpreter(<FileSelector> fileSelector)
Create a command interpreter |
|
| Method Summary | |
void
|
changeReferenceData(apdu)
Performs a CHANGE REFERENCE DATA command |
void
|
dispatch(<APDU> apdu, <Number> ins)
Dispatch to command handler based on instruction code |
void
|
handleSecMsgCommandAPDU(<APDU> apdu)
Process a secure messaging command APDU, if secure messaging is active. |
void
|
handleSecMsgResponseAPDU(<APDU> apdu)
Process a secure messaging response APDU, if secure messaging is active |
boolean
|
hasSecureChannel()
Return status of secure channel |
void
|
manageSecurityEnvironment(<APDU> apdu)
Process a MANAGE SECURITY ENVIRONMENT APDU |
void
|
processAPDU(<APDU> apdu)
Process a command APDU |
void
|
readBinary(<APDU> apdu)
Process a READ BINARY APDU |
void
|
readRecord(<APDU> apdu)
Process a READ RECORD APDU |
void
|
resetRetryCounter(apdu)
Performs a RESET RETRY COUNTER command |
void
|
setSecureChannel(<SecureChannel> secureChannel)
Set secure channel |
void
|
updateBinary(<APDU> apdu)
Process an UPDATE BINARY APDU |
void
|
verify(apdu)
Performs a VERIFY command |
| Field Detail |
Object fileSelector
| Constructor Detail |
CommandInterpreter(<FileSelector> fileSelector)
fileSelector - the file selector object
| Method Detail |
void changeReferenceData(apdu)
the - apdu
void dispatch(<APDU> apdu, <Number> ins)
apdu - the command and response APDU
ins - instruction code
void handleSecMsgCommandAPDU(<APDU> apdu)
apdu - the command APDU
void handleSecMsgResponseAPDU(<APDU> apdu)
apdu - the response APDU
boolean hasSecureChannel()
void manageSecurityEnvironment(<APDU> apdu)
apdu - the command and response APDU
void processAPDU(<APDU> apdu)
apdu - the command and response APDU
void readBinary(<APDU> apdu)
apdu - the command and response APDU
void readRecord(<APDU> apdu)
apdu - the command and response APDU
void resetRetryCounter(apdu)
the - apdu
void setSecureChannel(<SecureChannel> secureChannel)
secureChannel - the secure channel to used for unwrapping and wrapping APDUs
void updateBinary(<APDU> apdu)
apdu - the command and response APDU
void verify(apdu)
the - apdu
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||