asn1tools icon indicating copy to clipboard operation
asn1tools copied to clipboard

ASN.1 parsing, encoding and decoding.

Results 60 asn1tools issues
Sort by recently updated
recently updated
newest added

I can successfully decode one file with one record inside, with BER. Now I'm trying to decode one large file which has hundrends of records, also with BER, but I'm...

I have a structure similar to the following in a file `test.asn`, whihc I parse with `parse_files('test.asn')`: ```asn1 DATA-Descriptions DEFINITIONS AUTOMATIC TAGS ::= BEGIN DATA-ID-AND-TYPE ::= CLASS { &id DataId...

I added a RRC message in test_ber.py under function test_rrc_8_6_0: decoded = { 'message': ( 'c1', ( 'rrcConnectionRequest', { 'criticalExtensions': ( 'rrcConnectionRequest-r8', { 'ue-Identity' : ('randomValue', #(b'0110110001110110100010101000100001000000',40) (b'\x6c\x76\x8a\x88\x40',40) ), 'establishmentCause'...

Any plans to support CLASSes any time soon? Parsing with CLASS works OK. But compiling crashes. The protocol that I want to compile is rather simple one from 3GPP TS29.168...

Hi, Is there a plan to support GSER decoding in future?

Hi,, I'm facing a problem while I'm trying to decode multiple cdrs in .ber files. it decode the only the first bunch of cdrs and then gave me this error....

Hi, I am trying to decode a BER encoded file using a specification which also specifies several fields as being of BCDString type. The specification provides the following comments for...

Previously only (name, value) was allowed. With this small change, parsing formats that are not aware of the ASN.1 schema becomes trivial. For instance we can now parse a JSON5...

For example, compiling and exporting [JNA](https://github.com/java-native-access/jna) files for Java to call, asn1tools encoding and decoding is very cool, unfortunately, the Java platform lacks this library. My existing solution is that...

Hi, I seem that semi-constrained integer PER-encoding is working incorrectly: **asn.1 description is:** HelloWorld DEFINITIONS ::= BEGIN Message ::= SEQUENCE { n1 INTEGER(5..MAX) } END **Input is:** {'n1': 8} **Encoding...