diff --git a/xep-0231.xml b/xep-0231.xml index 02ec208a..bdeee2c4 100644 --- a/xep-0231.xml +++ b/xep-0231.xml @@ -30,6 +30,12 @@ &stpeter; &pavlix; + + 1.1 + 2022-07-25 + ssw +

Mention where to get textual names of hash functions.

+
1.0 2008-09-03 @@ -210,7 +216,7 @@ cid - A Content-ID that can be mapped to a cid: URL as specified in &rfc2111;. The 'cid' value SHOULD be of the form algo+hash@bob.xmpp.org, where the "algo" is the hashing algorithm used (e.g., "sha1" for the SHA-1 algorithm as specified in &rfc3174;) and the "hash" is the hex output of the algorithm applied to the binary data itself. + A Content-ID that can be mapped to a cid: URL as specified in &rfc2111;. The 'cid' value SHOULD be of the form algo+hash@bob.xmpp.org, where the "algo" is the hashing algorithm used (e.g., "sha1" for the SHA-1 algorithm as specified in &rfc3174;, for more information see the next section) and the "hash" is the hex output of the algorithm applied to the binary data itself. REQUIRED @@ -240,6 +246,15 @@ ]]> + +

+ The value of the 'algo' parameter MUST be one of the values from the + &ianahashes; maintained by &IANA;, or one of the values + defined in &xep0300; unless the hash is SHA-1 in which case the label + "sha1" MUST be used for historical reasons. +

+
+