Class EMVView
This class implements a viewer for data stored on emv cards
Defined in: emvView.js.
Constructor Attributes | Constructor Name and Description |
---|---|
EMVView(emv)
EMVView class constructor
|
Method Attributes | Method Name and Description |
---|---|
decodeActionCode(actionCode)
Decode an action code into a human readable form
|
|
decodeAFL(afl)
Decode an application file locator into a human readable form
|
|
decodeAIP(aip)
Decode an application interchange profile into a human readable form
|
|
decodeAUC(auc)
Decode the Application Usage Control into a human readable form
|
|
decodeCVM(cvmlist)
Decode a Cardholder Verification Method List into a human readable form
|
|
decodeDataElement(tag, value)
Decodes a template containing TLV data object into a human readable form
|
|
decodeDataObjectList(dol)
Decode a data object list into a human readable form
A data object list is a concatenation of data object identifiers, which each consist of a tag and a length field. |
|
Display the data elements into a human readable form
|
Class Detail
EMVView(emv)
EMVView class constructor
- Parameters:
- {object} emv
- an instance of the EMV class
- Requires:
- EMV
Method Detail
decodeActionCode(actionCode)
Decode an action code into a human readable form
- Parameters:
- {ByteString} actionCode
- the Action Code
decodeAFL(afl)
Decode an application file locator into a human readable form
- Parameters:
- {ByteString} afl
- the Application File Locator
decodeAIP(aip)
Decode an application interchange profile into a human readable form
- Parameters:
- {ByteString} aip
- the Application Interchange Profile
decodeAUC(auc)
Decode the Application Usage Control into a human readable form
- Parameters:
- {ByteString} auc
- the Application Usage Control
decodeCVM(cvmlist)
Decode a Cardholder Verification Method List into a human readable form
- Parameters:
- {ByteString} cvmlist
- the Cardholder Verification Method List
decodeDataElement(tag, value)
Decodes a template containing TLV data object into a human readable form
- Parameters:
- {Number} tag
- containing the tag name of TLV data objects
- {ASN1} value
- the template containing TLV data objects
decodeDataObjectList(dol)
Decode a data object list into a human readable form
A data object list is a concatenation of data object identifiers, which each consist of a tag and a length field.
- Parameters:
- {ByteString} dol
- the data object list
displayDataElements()
Display the data elements into a human readable form