@@ -101,7 +101,7 @@ either, and verifiers must accept either.
101
101
To convert existing signatures from the current format to the new format,
102
102
`"backwards-compatible-json"` must be added to the payload type URI to indicate
103
103
that the signature is over the raw payload. This allows the signatures to remain
104
- valid while avoiding the verifier from having to use CanonicalJson .
104
+ valid while avoiding the verifier from having to use [Canonical JSON] .
105
105
106
106
```json
107
107
{
@@ -119,7 +119,7 @@ Support for this backwards compatibility mode is optional.
119
119
To sign:
120
120
121
121
- BODY ** must** be an object type (` {...} ` ).
122
- - Serialize BODY as Canonical JSON; call this SERIALIZED_BODY.
122
+ - Serialize BODY as [ Canonical JSON] ; call this SERIALIZED_BODY.
123
123
- Sign SERIALIZED_BODY, base64-encode the result, and store it in ` sig ` .
124
124
- Base64-encode SERIALIZED_BODY and store it in ` payload ` .
125
125
- Store ` "<URI>/backwards-compatible-json" ` in ` payloadType ` .
@@ -351,6 +351,10 @@ Signed wrapper:
351
351
352
352
## References
353
353
354
- - [ Canonical JSON] ( http://wiki.laptop.org/go/Canonical_JSON )
355
- - [ JWS] ( https://tools.ietf.org/html/rfc7515 )
356
- - [ PASETO] ( https://github.com/paragonie/paseto/blob/master/docs/01-Protocol-Versions/Version2.md#sig )
354
+ - [ Canonical JSON]
355
+ - [ JWS]
356
+ - [ PASETO]
357
+
358
+ [ Canonical JSON ] : http://wiki.laptop.org/go/Canonical_JSON
359
+ [ JWS ] : https://tools.ietf.org/html/rfc7515
360
+ [ PASETO ] : https://github.com/paragonie/paseto/blob/master/docs/01-Protocol-Versions/Version2.md#sig
0 commit comments