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

48 lines
1.4 KiB
XML

<?xml version="1.0"?>
<OBJECT_IDENTIFIER>
<identification_block>
<tag_class>UNIVERSAL</tag_class>
<is_constructed>false</is_constructed>
<value_dec>6</value_dec>
</identification_block>
<length_block>
<is_indefinite_form>false</is_indefinite_form>
<long_form_used>false</long_form_used>
<length>16</length>
</length_block>
<value_block>
<sid_blocks>
<sid_block>
<warnings>
<warning>Too big SID for decoding, hex only</warning>
</warnings>
<is_first_sid>true</is_first_sid>
<is_hex_only>true</is_hex_only>
<value_hex>7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 0F</value_hex>
</sid_block>
<sid_block>
<is_first_sid>false</is_first_sid>
<is_hex_only>false</is_hex_only>
<value_dec>643</value_dec>
</sid_block>
<sid_block>
<is_first_sid>false</is_first_sid>
<is_hex_only>false</is_hex_only>
<value_dec>2</value_dec>
</sid_block>
<sid_block>
<is_first_sid>false</is_first_sid>
<is_hex_only>false</is_hex_only>
<value_dec>2</value_dec>
</sid_block>
<sid_block>
<is_first_sid>false</is_first_sid>
<is_hex_only>false</is_hex_only>
<value_dec>3</value_dec>
</sid_block>
</sid_blocks>
<is_hex_only>true</is_hex_only>
<value_dec>2.{{7F 7F 7F 7F 7F 7F 7F 7F 7F 7F 0F} - 80}.643.2.2.3</value_dec>
</value_block>
</OBJECT_IDENTIFIER>