1
1
mirror of https://github.com/wader/fq.git synced 2024-12-21 12:21:39 +03:00
fq/format/asn1/testdata/tc13.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

39 lines
1.2 KiB
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>
<warnings>
<warning>Needlessly long format</warning>
</warnings>
<is_hex_only>false</is_hex_only>
<value_dec>-5</value_dec>
</exponent_block>
<mantissa_block>
<error>End of input reached before message was fully decoded</error>
</mantissa_block>
</value_block>
</REAL>