-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.schema.json
65 lines (65 loc) · 2.25 KB
/
test.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"$id": "https://example.com/address.schema.json",
"description": "A single test of the ASN1 test suite",
"type": "object",
"required": [
"name",
"id",
"specification"
],
"properties": {
"name": {
"type": "string",
"description": "Descriptive name of the test"
},
"id": {
"type": "string",
"description": "Unique test ID, starting with 'test'"
},
"specification": {
"type": "string",
"description": "The ASN1 declaration under test as a literal JSON string. Line-breaks and tabs are escaped."
},
"value": {
"type": "string",
"description": "An ASN1 declaration of a test value to be encoded as part of the test."
},
"uper": {
"type": "object",
"properties": {
"binary": {
"type": "string",
"description": "The test value encoded according to the Unaligned Packed Encoding Rules, encoded as a hexadecimal string."
},
"unusedBits": {
"type": "number",
"description": "Number of unused zero-bits appended to the end of the encoded UPER value"
}
}
},
"per": {
"type": "string",
"description": "The test value encoded according to the Aligned Packed Encoding Rules, encoded as a hexadecimal string."
},
"der": {
"type": "string",
"description": "The test value encoded according to the Distinguished Encoding Rules, encoded as a hexadecimal string."
},
"ber": {
"type": "string",
"description": "The test value encoded according to the Basic Encoding Rules, encoded as a hexadecimal string."
},
"xer": {
"type": "string",
"description": "The test value encoded according to the XML Encoding Rules, encoded as a string with escaped line breaks and tabs."
},
"oer": {
"type": "string",
"description": "The test value encoded according to the Octet Encoding Rules, encoded as a hexadecimal string."
},
"coer": {
"type": "string",
"description": "The test value encoded according to the Canonical Octet Encoding Rules, encoded as a hexadecimal string."
}
}
}