-
Notifications
You must be signed in to change notification settings - Fork 327
Expand file tree
/
Copy pathecdsa_common.json
More file actions
42 lines (42 loc) · 1.09 KB
/
ecdsa_common.json
File metadata and controls
42 lines (42 loc) · 1.09 KB
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"EcPublicKey": {
"type": "object",
"properties": {
"curve": {
"type": "string",
"description": "the EC group used by this public key"
},
"keySize": {
"type": "integer",
"description": "the key size in bits"
},
"type": {
"type": "string",
"description": "the key type",
"enum": [
"EcPublicKey"
]
},
"uncompressed": {
"type": "string",
"format": "HexBytes",
"description": "encoded public key point"
},
"wx": {
"type": "string",
"format": "BigInt",
"description": "the x-coordinate of the public key point"
},
"wy": {
"type": "string",
"format": "BigInt",
"description": "the y-coordinate of the public key point"
}
},
"required": ["curve", "keySize", "type", "uncompressed", "wx", "wy"],
"additionalProperties": false
}
}
}