Skip to content

Commit 539868e

Browse files
committed
Merge branch 'master' into pae-encoding
2 parents b25be06 + 492b18d commit 539868e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

specification.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ either, and verifiers must accept either.
101101
To convert existing signatures from the current format to the new format,
102102
`"backwards-compatible-json"` must be added to the payload type URI to indicate
103103
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].
105105
106106
```json
107107
{
@@ -119,7 +119,7 @@ Support for this backwards compatibility mode is optional.
119119
To sign:
120120

121121
- 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.
123123
- Sign SERIALIZED_BODY, base64-encode the result, and store it in `sig`.
124124
- Base64-encode SERIALIZED_BODY and store it in `payload`.
125125
- Store `"<URI>/backwards-compatible-json"` in `payloadType`.
@@ -351,6 +351,10 @@ Signed wrapper:
351351

352352
## References
353353

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

Comments
 (0)