|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--CommandInterpreter | +--eIDCommandInterpreter
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 |
Object challenge
Object crypto
Object effectiveRights
Object lastINS
Object pacedp
Object trustedDVCA
Object trustedTerminal
Constructor Detail |
eIDCommandInterpreter(<FileSelector> fileSelector)
fileSelector
- the file selector object
Method Detail |
void computeDigitalSignature(apdu)
the
- apdu
void determinePINStatus(apdu)
the
- apdu
void dispatch(<APDU> apdu, <Number> ins)
apdu
- the apdu
ins
- the normalized instruction code
void externalAuthenticate(apdu)
the
- apdu
void externalAuthenticateForBAC(apdu)
the
- apdu
void externalAuthenticateForTA(apdu, <SecurityEnvironment> se)
se
- the security environment for external authentication
the
- apdu
void generalAuthenticate(apdu)
the
- apdu
void generateAsymmetricKeyPair(apdu)
the
- apdu
void getChallenge(apdu)
the
- apdu
Date getDate()
ByteString getTerminalRole()
boolean isAuthenticatedTerminal()
object locatePublicKey(<PublicKeyReference> keyid)
keyid
- the public key reference to look for
void manageActiveState(apdu)
the
- apdu
void performChipAuthenticationV1(apdu)
the
- apdu
void performChipAuthenticationV2(apdu)
the
- apdu
void performPACE(apdu)
the
- apdu
void performRestrictedIdentification(apdu)
the
- apdu
void resetRetryCounterPACE(apdu)
the
- apdu
void setDate(<Date> date)
date
- the new date
void terminate(apdu)
the
- apdu
void terminateKey(apdu)
the
- apdu
void terminatePIN(apdu)
the
- apdu
void updateEFCVCA(content)
date
- the new date
void verifyAuxiliaryData(apdu)
the
- apdu
void verifyCertificate(apdu)
the
- apdu
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |