File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -115,9 +115,9 @@ valid while avoiding the verifier from having to use [Canonical JSON].
115
115
"payload": "<Base64(CanonicalJson(BODY))>",
116
116
"payloadType": "<URI>/backwards-compatible-json",
117
117
"signatures" : [{
118
- … ,
119
- "sig" : "<Base64(Sign(CanonicalJson(BODY)))>"
120
- }, … ]
118
+ "keyid": "<KEYID>" ,
119
+ "sig": "<Base64(Sign(CanonicalJson(BODY)))>"
120
+ }]
121
121
}
122
122
```
123
123
@@ -128,6 +128,7 @@ To sign:
128
128
- BODY ** must** be an object type (` {...} ` ).
129
129
- Serialize BODY as [ Canonical JSON] ; call this SERIALIZED_BODY.
130
130
- Sign SERIALIZED_BODY, base64-encode the result, and store it in ` sig ` .
131
+ - Optionally, compute a KEYID and store it in ` keyid ` .
131
132
- Base64-encode SERIALIZED_BODY and store it in ` payload ` .
132
133
- Store ` "<URI>/backwards-compatible-json" ` in ` payloadType ` .
133
134
You can’t perform that action at this time.
0 commit comments