@@ -83,7 +83,7 @@ either, and verifiers must accept either.
83
83
To convert existing signatures from the current format to the new format,
84
84
` "backwards-compatible-json" ` must be added to the payload type URI to indicate
85
85
that the signature is over the raw payload. This allows the signatures to remain
86
- valid while avoiding the verifier from having to use CanonicalJson .
86
+ valid while avoiding the verifier from having to use [ Canonical JSON ] .
87
87
88
88
``` json
89
89
{
@@ -101,7 +101,7 @@ Support for this backwards compatibility mode is optional.
101
101
To sign:
102
102
103
103
- BODY ** must** be an object type (` {...} ` ).
104
- - Serialize BODY as Canonical JSON; call this SERIALIZED_BODY.
104
+ - Serialize BODY as [ Canonical JSON] ; call this SERIALIZED_BODY.
105
105
- Sign SERIALIZED_BODY, base64-encode the result, and store it in ` sig ` .
106
106
- Base64-encode SERIALIZED_BODY and store it in ` payload ` .
107
107
- Store ` "<URI>/backwards-compatible-json" ` in ` payloadType ` .
@@ -333,7 +333,10 @@ Signed wrapper:
333
333
334
334
## References
335
335
336
- - [ Canonical JSON] ( http://wiki.laptop.org/go/Canonical_JSON )
337
- - [ JWS] ( https://tools.ietf.org/html/rfc7515 )
338
- - [ PASETO] ( https://github.com/paragonie/paseto/blob/master/docs/01-Protocol-Versions/Version2.md#sig )
336
+ - [ Canonical JSON]
337
+ - [ JWS]
338
+ - [ PASETO]
339
339
340
+ [ Canonical JSON ] : http://wiki.laptop.org/go/Canonical_JSON
341
+ [ JWS ] : https://tools.ietf.org/html/rfc7515
342
+ [ PASETO ] : https://github.com/paragonie/paseto/blob/master/docs/01-Protocol-Versions/Version2.md#sig
0 commit comments