lapo-luchini / asn1js

JavaScript generic ASN.1 parser
ISC License
576 stars 161 forks source link

Incorrect object identifier #77

Closed Sayan751 closed 8 months ago

Sayan751 commented 9 months ago

I am facing a strange issue while decoding an object identifier. The object identifier in question is "4.1.1.1" and when I am encoding it, I am getting "BgOhAQE=".

When I am trying to decode it, I am getting incorrect OID (2.4145.1). Refer:

I have checked it with other ASN.1 decoder, where it can be decoded correctly.

image
Sayan751 commented 8 months ago

Please ignore, the OID was invalid.