範例
One ASN.1 integer
輸入
02012aExpected checks
Case-insensitiveContains "INTEGER"
Contains "2a"- 起始索引
0- 截断超過指定長度的八位組字串
32
A pair inside a sequence
輸入
3006020101020102Expected checks
Case-insensitiveContains "SEQUENCE"
Contains "INTEGER"
Contains "01"
Contains "02"- 起始索引
0- 截断超過指定長度的八位組字串
32
An octet string
輸入
040568656c6c6fExpected checks
Case-insensitiveContains "OCTETSTRING"- 起始索引
0- 截断超過指定長度的八位組字串
32
An object identifier
輸入
06032a0304Expected checks
Case-insensitiveContains "OBJECTIDENTIFIER"- 起始索引
0- 截断超過指定長度的八位組字串
32
A DER boolean
輸入
0101ffExpected checks
Case-insensitiveContains "BOOLEAN"- 起始索引
0- 截断超過指定長度的八位組字串
32
参數
| 参數 | 默認值 | 輸入與選項 |
|---|---|---|
| 起始索引 | 0 | 數字 |
| 截断超過指定長度的八位組字串 | 32 | 數字 |