|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--DataAuthentication
This class implements data authentication
Defined in dataAuthentication.js
Requires:
Field Summary | |
Object |
crypto
|
Object |
emv
|
Object |
schemePublicKeyTable
|
Constructor Summary | |
DataAuthentication(<EMV> emv)
DataAuthentication class constructor |
Method Summary | |
void
|
addSchemePublicKey(<ByteString> rid, <Number> index, <Key> key)
Add a new public key to the array |
Object
|
decryptIssuerPKCertificate()
Decryption of the Issuer Public Key Certificate |
void
|
dynamicDataAuthentication(iccPublicKeyModulus)
Generation and verification of the dynamic signature. |
Number
|
getPubKeyIndex()
Get the Public Key Index |
ByteString
|
getRID()
Get the Registered Application Provider Identifier from EMV data model |
Key
|
getSchemePublicKey()
Get the public key |
Key
|
retrieveICCPublicKey(issuerPublicKeyModulus)
Retrieval of ICC Public Key |
Key
|
retrieveIssuerPublicKey()
Retrieval of Issuer Public Key |
void
|
verifySSAD(issuerPublicKeyModulus)
Verification of Signed Static Application Data |
Field Detail |
Object crypto
Object emv
Object schemePublicKeyTable
Constructor Detail |
DataAuthentication(<EMV> emv)
emv
- an instance of the EMV class
Method Detail |
void addSchemePublicKey(<ByteString> rid, <Number> index, <Key> key)
rid
- the Registered Application Provider Identifier
index
- the public key index
key
- the public key
Object decryptIssuerPKCertificate()
void dynamicDataAuthentication(iccPublicKeyModulus)
key
- the ICC Public Key
Number getPubKeyIndex()
ByteString getRID()
Key getSchemePublicKey()
Key retrieveICCPublicKey(issuerPublicKeyModulus)
key
- the Issuer Public Key
Key retrieveIssuerPublicKey()
void verifySSAD(issuerPublicKeyModulus)
key
- the Issuer Public Key
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |