1
1
mirror of https://github.com/wader/fq.git synced 2024-12-27 07:24:48 +03:00
fq/format/asn1/testdata/tc14.xml
Mattias Wadman 0829c167cc asn1_ber: Add decoder
Basic support, can also do CER and DER but without any extra validation.
No schema support.

Redo format doc.md usage a bit, now format/<dir>/<format>.md instead.

Related to #20
2022-02-06 22:13:03 +01:00

32 lines
1009 B
XML

<?xml version="1.0"?>
<REAL>
<error>End of input reached before message was fully decoded</error>
<identification_block>
<tag_class>UNIVERSAL</tag_class>
<is_constructed>false</is_constructed>
<value_dec>9</value_dec>
</identification_block>
<length_block>
<warnings>
<warning>Needlessly long encoded length</warning>
<warning>Unneccesary usage of long length form</warning>
</warnings>
<is_indefinite_form>false</is_indefinite_form>
<long_form_used>true</long_form_used>
<length>7</length>
</length_block>
<value_block>
<error>End of input reached before message was fully decoded</error>
<information_block>
<is_special_value>false</is_special_value>
<base>2</base>
<scaling_factor>0</scaling_factor>
<is_negative>false</is_negative>
<exponent_format>4</exponent_format>
</information_block>
<exponent_block>
<error>End of input reached before message was fully decoded</error>
</exponent_block>
</value_block>
</REAL>