v2.5.0 #48
Tochemey
announced in
Announcements
v2.5.0
#48
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Highlights
This release introduces EMV TLV (Tag-Length-Value) support for chip card data, enabling first-class parsing, building, and integration of BER-TLV encoded data -- commonly carried in ISO 8583 field 55. The implementation follows the EMV v4.3 Specification and ISO/IEC 8825-1 BER encoding rules.
New Features
TlvParser-- Parses BER-TLV encoded byte arrays into structuredTlvTagrecords. Handles single-byte tags, multi-byte tags (2-3+ bytes), short-form and long-form lengths, constructed (nested) tags, and inter-TLV padding bytes (0x00,0xFF).TlvBuilder-- Fluent API for constructing BER-TLV byte sequences:TlvTag-- Immutable record type representing a single TLV data object withTag(hex string),Length,Value(byte array), and optionalDescription. SupportsIsConstructeddetection andGetNestedTags()for constructed data objects.EmvTags-- Built-inFrozenDictionaryof 38 common EMV tag descriptions sourced from EMV v4.3 Book 3 (Annex A) and ISO/IEC 7816-4, with case-insensitive lookup. Spec version exposed viaEmvTags.SpecVersion.TlvField--ICustomBinaryFieldimplementation that allows field 55 (or any field) to be registered as a TLV-aware composite field in both XML and programmatic (MessageFactoryBuilder) configurations.IsoMessageTLV extension methods -- Convenience helpers for field 55 access:GetTlvTags()-- retrieve parsed TLV tagsSetTlvTags()-- set TLV tags on the messageGetTlvBytes()-- retrieve raw TLV bytesFindTlvTag(string tag)-- find a specific tag by hex identifierImprovements
TlvFieldintegration,IsoMessageextension methods, andEmvTagsdictionary validation.IsoMessageextension methods, with a full EMV tag reference table.Bug Fixes
Supported Frameworks
Pull Requests
Full Changelog: 2.4.0...v2.5.0
This discussion was created from the release v2.5.0.
Beta Was this translation helpful? Give feedback.
All reactions