mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
XEP-0231: clarify where to find hash algo names
Signed-off-by: Sam Whited <sam@samwhited.com>
This commit is contained in:
parent
7c46fc60c0
commit
18f5a60922
17
xep-0231.xml
17
xep-0231.xml
@ -30,6 +30,12 @@
|
|||||||
</schemaloc>
|
</schemaloc>
|
||||||
&stpeter;
|
&stpeter;
|
||||||
&pavlix;
|
&pavlix;
|
||||||
|
<revision>
|
||||||
|
<version>1.1</version>
|
||||||
|
<date>2022-07-25</date>
|
||||||
|
<initials>ssw</initials>
|
||||||
|
<remark><p>Mention where to get textual names of hash functions.</p></remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>1.0</version>
|
<version>1.0</version>
|
||||||
<date>2008-09-03</date>
|
<date>2008-09-03</date>
|
||||||
@ -210,7 +216,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>cid</td>
|
<td>cid</td>
|
||||||
<td>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.</td>
|
<td>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.</td>
|
||||||
<td>REQUIRED</td>
|
<td>REQUIRED</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -240,6 +246,15 @@
|
|||||||
]]></example>
|
]]></example>
|
||||||
</section2>
|
</section2>
|
||||||
|
|
||||||
|
<section2 topic='Algorithm Names' anchor='algo'>
|
||||||
|
<p>
|
||||||
|
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.
|
||||||
|
</p>
|
||||||
|
</section2>
|
||||||
|
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
<section1 topic='Determining Support' anchor='support'>
|
<section1 topic='Determining Support' anchor='support'>
|
||||||
|
Loading…
Reference in New Issue
Block a user