Skip to content

Commit f06b177

Browse files
committed
fix(rust/signed_doc): fix README
1 parent a95f3d5 commit f06b177

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

rust/signed_doc/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ which **must** be present (most of the fields originally defined by this
2727
(this parameter is used to indicate the content encodings algorithm of the payload data,
2828
in this particular case [brotli] compression data format is used).
2929
* `type`: CBOR encoded UUID.
30-
* `id`: CBOR encoded UUIDv7.
31-
* `ver`: CBOR encoded UUIDv7.
32-
* `ref`: CBOR encoded UUIDv7 or two elements array of UUIDv7 (optional).
33-
* `template`: CBOR encoded UUIDv7 or two elements array of UUIDv7 (optional).
34-
* `reply`: CBOR encoded UUIDv7 or two elements array of UUIDv7 (optional).
30+
* `id`: CBOR encoded UUID.
31+
* `ver`: CBOR encoded UUID.
32+
* `ref`: CBOR encoded UUID or two elements array of UUID (optional).
33+
* `template`: CBOR encoded UUID or two elements array of UUID (optional).
34+
* `reply`: CBOR encoded UUID or two elements array of UUID (optional).
3535
* `section`: CBOR encoded string (optional).
3636
* `collabs`: CBOR encoded array of any CBOR types (optional).
3737

@@ -46,8 +46,8 @@ protected_header = {
4646
3 => 30, ; "content type": Json
4747
"content encoding" => "br", ; payload content encoding, brotli compression
4848
"type" => UUID,
49-
"id" => UUIDv7,
50-
"ver" => UUIDv7,
49+
"id" => UUID,
50+
"ver" => UUID,
5151
? "ref" => reference_type,
5252
? "template" => reference_type,
5353
? "reply" => reference_type,
@@ -56,7 +56,7 @@ protected_header = {
5656
}
5757
5858
UUID = #6.37(bytes)
59-
reference_type = UUIDv7 / [UUIDv7, UUIDv7] ; either UUIDv7 or [UUIDv7, UUIDv7]
59+
reference_type = UUID / [UUID, UUID] ; either UUID or [UUID, UUID]
6060
```
6161

6262
### COSE payload

0 commit comments

Comments
 (0)