MRTD.NET
MRTD.NET copied to clipboard
Sequence contains no elements Exception
This is a gem, very hard to find MRTD on .NET.
So I am giving this a try with DemoApp, I have updated the MRZ data correctly and Card ATR is fetching and starts reading past EF.COM; 0 - 5 .. .. 13110 - 230 13340 - 0
Till it reaches 13340 - 0 and throws Sequence contains no elements exception at line 22 of ExtractedDO99.cs
for line return parsetBerTLV.Data.Where(tlv => tlv.T == "99").First().Bytes();
Any idea what might be the issue ? I can use the same MRZ info successfully with same reader under PCSC dumpmrtd.js script so I know passport and reader is ok as well as MRZ data; dob, expiry, docNo.
@akeilox thank you for feedback
At this time I have no idea what might be the issue. You can see this document and try to debug code
Page: 49 Unprotected response APDU
About BerTLV see this ISO 7816 standard Part-4, Section 5-6
@kogoia Thank you for the pointers, appreciate taking the time to give specific references. Its a bit above my head but I'll try to read through.