Skip to content
ASN.1 syntax generator for EMV Tags
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
emv.asn1
emvtags-4.3.csv
genemvasn1.py

README.md

emv-asn1

ASN.1 syntax generator for EMV Tags

This script generates an asn1ate compatible ASN.1 syntax file for EMV specific tags.

I have had to take some liberties with an extra implicit bit in extended tags so that tags don't collide.

For instance: 81 and 9F01 are both context-specific and tagId 1. The only differentiating factor is that the 9F01 tag has the extended tag bits on in the first byte, which isn't representable except that it makes the 01 the LS7B of the tagId. By implicitly adding the 8th bit, the tagId becomes 129.

As far as I can tell, no extended tags should have tagIds < 0x1F, but the EMV specs create them anyway.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.