Parse ASN.1 hex string

Read hexadecimal ASN.1 data and inspect its nested types and values.

Input: TextResult: Text

Text input

Tool options

Examples

One ASN.1 integer

Input

02012a

Expected checks

Case-insensitive
Contains "INTEGER"
Contains "2a"
Starting index
0
Truncate octet strings longer than
32
A pair inside a sequence

Input

3006020101020102

Expected checks

Case-insensitive
Contains "SEQUENCE"
Contains "INTEGER"
Contains "01"
Contains "02"
Starting index
0
Truncate octet strings longer than
32
An octet string

Input

040568656c6c6f

Expected checks

Case-insensitive
Contains "OCTETSTRING"
Starting index
0
Truncate octet strings longer than
32
An object identifier

Input

06032a0304

Expected checks

Case-insensitive
Contains "OBJECTIDENTIFIER"
Starting index
0
Truncate octet strings longer than
32
A DER boolean

Input

0101ff

Expected checks

Case-insensitive
Contains "BOOLEAN"
Starting index
0
Truncate octet strings longer than
32

This operation parses arbitrary ASN.1 data (encoded as an hex string: use the 'To Hex' operation if necessary) and presents the resulting tree.

Format reference: Parse ASN.1 hex string background and specification

Parameters

ParameterDefault valueInput and choices
Starting index0Number
Truncate octet strings longer than32Number

Related tools

Browse data format tools