Skip to content

Commit f9e3193

Browse files
committed
Fixed example and tags
1 parent 59f623e commit f9e3193

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

‎IETF-OCM-IP.md‎

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,16 +1393,16 @@ the Receiving Server. The body is the Share Creation Notification with
13931393
every `sharedSecret` removed (line breaks in the signature headers for
13941394
display purposes only):
13951395

1396-
~~~
1396+
<sourcecode type="http">
13971397
POST /services/ocm/shares HTTP/1.1
13981398
Host: hub.example.org
13991399
Date: Wed, 10 Jun 2026 14:00:00 GMT
14001400
Content-Type: application/json
14011401
Content-Digest: sha-256=:hj3LWOIuryd4XbzFhoHa6YMUbhtzMdMT3e9Bxpu2Lm0=:
14021402
Content-Length: 542
1403-
Signature-Input: ocm=("@method" "@target-uri" "content-digest"
1404-
"content-length" "date"); created=1781186400;
1405-
keyid="cloud.example.org#key1"; alg="ed25519"
1403+
"@signature-params": ("@method" "@target-uri" "content-digest" \
1404+
"content-length");created=1781186400;\
1405+
keyid="cloud.example.org#key1";alg="ed25519";tag="ocm"
14061406
Signature: ocm=:[signature-value]:
14071407

14081408
{
@@ -1428,8 +1428,7 @@ Signature: ocm=:[signature-value]:
14281428
}
14291429
}
14301430
}
1431-
~~~
1432-
{: type="http"}
1431+
</sourcecode>
14331432

14341433
The Protocol Server stores the Share Record under (`cloud.example.org`,
14351434
`7c084226-d9a1-11e6-bf26-cec0c932ce01`) and responds:

0 commit comments

Comments
 (0)