iso8583sim.core.emv
This module provides functions for parsing and building EMV Tag-Length-Value
encoded data, commonly found in ISO 8583 Field 55.
Functions
parse_emv_data()
str
required
Hex-encoded EMV TLV data
dict[str, str]
Dictionary mapping tag strings to value strings (hex-encoded)
ValueError: If data is malformed
build_emv_data()
dict[str, str]
required
Dictionary mapping tag strings to value strings (hex-encoded)
str
Hex-encoded EMV TLV data string
get_tag_name()
str
required
Tag identifier (hex string)
str
Description of the tag, or “Unknown” if not found
explain_tvr()
str
required
5-byte TVR as hex string (10 characters)
list[str]
List of issues/flags that are set
explain_cid()
str
required
CID byte as hex string
str
Description of the cryptogram type