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

64 lines
1.8 KiB
XML

<?xml version="1.0"?>
<BIT_STRING>
<identification_block>
<tag_class>UNIVERSAL</tag_class>
<is_constructed>true</is_constructed>
<value_dec>3</value_dec>
</identification_block>
<length_block>
<is_indefinite_form>false</is_indefinite_form>
<long_form_used>false</long_form_used>
<length>12</length>
</length_block>
<value_block>
<BIT_STRING>
<identification_block>
<tag_class>UNIVERSAL</tag_class>
<is_constructed>false</is_constructed>
<value_dec>3</value_dec>
</identification_block>
<length_block>
<is_indefinite_form>false</is_indefinite_form>
<long_form_used>false</long_form_used>
<length>2</length>
</length_block>
<value_block>
<unused_bits>0</unused_bits>
<value_hex>0000 0001</value_hex>
</value_block>
</BIT_STRING>
<BIT_STRING>
<identification_block>
<tag_class>UNIVERSAL</tag_class>
<is_constructed>false</is_constructed>
<value_dec>3</value_dec>
</identification_block>
<length_block>
<is_indefinite_form>false</is_indefinite_form>
<long_form_used>false</long_form_used>
<length>2</length>
</length_block>
<value_block>
<unused_bits>0</unused_bits>
<value_hex>0000 0001</value_hex>
</value_block>
</BIT_STRING>
<BIT_STRING>
<identification_block>
<tag_class>UNIVERSAL</tag_class>
<is_constructed>false</is_constructed>
<value_dec>3</value_dec>
</identification_block>
<length_block>
<is_indefinite_form>false</is_indefinite_form>
<long_form_used>false</long_form_used>
<length>2</length>
</length_block>
<value_block>
<unused_bits>4</unused_bits>
<value_hex>0000 1111</value_hex>
</value_block>
</BIT_STRING>
</value_block>
</BIT_STRING>