Skip to content

TLV String not working properly #1

@Jonathandelacruzp

Description

@Jonathandelacruzp

HI I have a problem with a particular Strigng Hex. I tested the Hex String on a thirdparty webpage and had result, but with the library had the next message error.

The TLV String:
78795C185F605F615F625F635F645F6A5F215F225F235F7D5F7B5F7C5F600834353936393633305F6101355F620556494C43415F63075A4150415441205F64114B4154484552494E452043594E544849415F6A01465F21063134303133325F22063035303438365F2304202409055F7D005F7B005F7C041900010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

The app that I testestd the String:
http://www.emvlab.org/tlvutils/

The Exception:
Message = "Index was outside the bounds of the array."
StackTrace = " at BerTlv.Tlv.ParseTlv(Byte[] rawTlv, ICollection1 result)\r\n at BerTlv.Tlv.ParseTlv(Byte[] tlv)\r\n at BerTlv.Tlv.ParseTlv(String tlv)\r\n at PCSC.DNIe.Logic.DNIe.SetPersonalData(Response response) in D:\\TFS\\TFS_Outlook_jdp\\DNIe\\PCSC.DNIe\\... TargetSite = {Void ParseTlv(Byte[], System.Collections.Generic.ICollection1[BerTlv.Tlv])}
InvocationFlags = INVOCATION_FLAGS_INITIALIZED | INVOCATION_FLAGS_NEED_SECURITY

Thanks.

Greeting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions