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 46 forks source link

Can't disable constraint evaluation #16

Open JMNDev opened 6 years ago

JMNDev commented 6 years ago

Hello,

I have a use case where I need that the class's of asn1 generated by the tool don't look to the asn1 constraints when decoding, but in actual version that is not possible.

Resuming, I can't disable the constraints evaluation on the classes generated.

I think this would be a very important and useful feature, since the asn1 protocol its a very old protocol and have some constraints that in the nowadays don't make much sense.

Can someone know any workaround, for my use case.

Thank you very much