Class eIDCommandInterpreter

Object
   |
   +--CommandInterpreter
         |
         +--eIDCommandInterpreter

class eIDCommandInterpreter
extends CommandInterpreter


Class implementing a command interpreter that handles ISO 7816-4 command APDUs
Defined in eidcommandinterpreter.js


Field Summary
 Object challenge
          
 Object crypto
          
 Object effectiveRights
          
 Object lastINS
          
 Object pacedp
          
 Object trustedDVCA
          
 Object trustedTerminal
          
 
Constructor Summary
eIDCommandInterpreter(<FileSelector> fileSelector)
            Create a command interpreter
 
Method Summary
 void computeDigitalSignature(apdu)
           Performs a COMPUTE DIGITAL SIGNATURE command
 void determinePINStatus(apdu)
           Intercept MANAGE SE for PACE to determine status of PIN
 void dispatch(<APDU> apdu, <Number> ins)
           Dispatch to command handler based in INS byte in APDU
 void externalAuthenticate(apdu)
           Performs an EXTERNAL AUTHENTICATE command
 void externalAuthenticateForBAC(apdu)
           Performs an EXTERNAL AUTHENTICATE command for BAC
 void externalAuthenticateForTA(apdu, <SecurityEnvironment> se)
           Process EXTERNAL AUTHENTICATE command to perform terminal authentication
 void generalAuthenticate(apdu)
           Process GENERAL AUTHENTICATE command
 void generateAsymmetricKeyPair(apdu)
           Performs a TERMINATE(Key) command
 void getChallenge(apdu)
           Process GET CHALLENGE command
 Date getDate()
           Determine the current date
 ByteString getTerminalRole()
           Return terminal role from CHAT
 boolean isAuthenticatedTerminal()
           Determine if the terminal has been authenticated
 object locatePublicKey(<PublicKeyReference> keyid)
           Locate public key either in trust anchor, trusted DVCA or trusted terminal
 void manageActiveState(apdu)
           Performs an ACTIVATE/DEACTIVATE command
 void performChipAuthenticationV1(apdu)
           Process GENERAL AUTHENTICATE command to perform chip authentication in version 1
 void performChipAuthenticationV2(apdu)
           Process GENERAL AUTHENTICATE command to perform chip authentication in version 2
 void performPACE(apdu)
           Process GENERAL AUTHENTICATE command to perform PACE
 void performRestrictedIdentification(apdu)
           Process GENERAL AUTHENTICATE command to perform restricted identification
 void resetRetryCounterPACE(apdu)
           Performs a RESET RETRY COUNTER command for PACE keys
 void setDate(<Date> date)
           Set the current date
 void terminate(apdu)
           Performs a TERMINATE command
 void terminateKey(apdu)
           Performs a TERMINATE(Key) command
 void terminatePIN(apdu)
           Performs a TERMINATE(PIN) command
 void updateEFCVCA(content)
           Update EF.CVCA to indicate new trust anchor for id-IS
 void verifyAuxiliaryData(apdu)
           Process VERIFY(AD)
 void verifyCertificate(apdu)
           Process PSO VERIFY CERTIFICATE command

Field Detail

challenge

Object challenge

crypto

Object crypto

effectiveRights

Object effectiveRights

lastINS

Object lastINS

pacedp

Object pacedp

trustedDVCA

Object trustedDVCA

trustedTerminal

Object trustedTerminal

Constructor Detail

eIDCommandInterpreter

eIDCommandInterpreter(<FileSelector> fileSelector)

Method Detail

computeDigitalSignature

void computeDigitalSignature(apdu)

determinePINStatus

void determinePINStatus(apdu)

dispatch

void dispatch(<APDU> apdu, <Number> ins)

externalAuthenticate

void externalAuthenticate(apdu)

externalAuthenticateForBAC

void externalAuthenticateForBAC(apdu)

externalAuthenticateForTA

void externalAuthenticateForTA(apdu, <SecurityEnvironment> se)

generalAuthenticate

void generalAuthenticate(apdu)

generateAsymmetricKeyPair

void generateAsymmetricKeyPair(apdu)

getChallenge

void getChallenge(apdu)

getDate

Date getDate()

getTerminalRole

ByteString getTerminalRole()

isAuthenticatedTerminal

boolean isAuthenticatedTerminal()

locatePublicKey

object locatePublicKey(<PublicKeyReference> keyid)

manageActiveState

void manageActiveState(apdu)

performChipAuthenticationV1

void performChipAuthenticationV1(apdu)

performChipAuthenticationV2

void performChipAuthenticationV2(apdu)

performPACE

void performPACE(apdu)

performRestrictedIdentification

void performRestrictedIdentification(apdu)

resetRetryCounterPACE

void resetRetryCounterPACE(apdu)

setDate

void setDate(<Date> date)

terminate

void terminate(apdu)

terminateKey

void terminateKey(apdu)

terminatePIN

void terminatePIN(apdu)

updateEFCVCA

void updateEFCVCA(content)

verifyAuxiliaryData

void verifyAuxiliaryData(apdu)

verifyCertificate

void verifyCertificate(apdu)


Documentation generated by JSDoc on Tue Sep 3 22:29:43 2013