JASN1 decoding ASN java.io.IOException: Length is out of bound

436 Views Asked by At

I have compiled an asn1 file format and I have got my .class Java files using Jasn.
Now I want to decode the input stream from my asn format file. The decode method have two inputs: ( inputStream, Beridentifier)

 BerIdentifier b = new BerIdentifier(BerIdentifier.CONTEXT_CLASS, BerIdentifier.CONSTRUCTED, 1);

Now i am getting io.exception : Length is out of bound!

0

There are 0 best solutions below