beanit / asn1bean

ASN1bean (formerly known as jASN1) is a Java ASN.1 BER and DER encoding/decoding library
https://www.beanit.com/asn1/
Apache License 2.0
110 stars 45 forks source link

Support of TT-BER #29

Closed LukaTchumburidze closed 4 years ago

LukaTchumburidze commented 5 years ago

I was wondering whether Jasn.1 has support for TT-BER asn data structures. Difference between TT-BER and BER is that in TT-BER blocks might have indefinite length. Jasn.1 compiler does have -il argument which should take care of this kind of data structures (even though it says that this feature is not fully developed yet), but it doesn't. please confirm whether or not this -il argument is for TT-BER. And when it will have full support for TT-BER.

aitechbay commented 5 years ago

I also got same errors while decoding indefinite length file. Do we have any plan to make fully functional for indefinite length file.

sfeuerhahn commented 5 years ago

I don't know what TT-BER is, so I cannot say whether it is supported. Indefinite length decoding is supported but not tested very much. Please report any errors that you encounter using indefinite length so I can fix them.

onderson commented 4 years ago

@sfeuerhahn , indefinite is supported at some degree. i had some test cases (not unit tests, based on certain occasions which are both working and non-working, so my saying will stay theoretical) i wish i had enough time to have some unit tests to show case the issue. i will try in future hopefully

sfeuerhahn commented 4 years ago

thanks, please reopen a new issue once you have identified a specific issue.