mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 16:55:07 -05:00
1.6rc1
This commit is contained in:
parent
7d4864ff9c
commit
dedee5b939
@ -11,6 +11,7 @@
|
||||
&LEGALNOTICE;
|
||||
<number>0114</number>
|
||||
<status>Active</status>
|
||||
<interim/>
|
||||
<type>Historical</type>
|
||||
<sig>Standards</sig>
|
||||
<dependencies>
|
||||
@ -28,6 +29,12 @@
|
||||
<url>http://xmpp.org/schemas/component-connect.xsd</url>
|
||||
</schemaloc>
|
||||
&stpeter;
|
||||
<revision>
|
||||
<version>1.6rc1</version>
|
||||
<date>2011-04-13</date>
|
||||
<initials>psa</initials>
|
||||
<remark>Removed unnecessary and unimplemented requirement to escape predefined XML entities.</remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>1.5</version>
|
||||
<date>2005-03-03</date>
|
||||
@ -101,7 +108,7 @@
|
||||
]]></example>
|
||||
<p>The XML character data of the handshake element is computed according to the following algorithm:</p>
|
||||
<ol>
|
||||
<li>Concatenate the Stream ID received from the server with the shared secret (if necessary, characters that map to predefined XML entities MUST be escaped according to the rules defined in section 4.6 of the XML specification, and any non-ASCII characters MUST be encoded according to the encoding of XML streams as specified in <strong>XMPP Core</strong>, i.e., UTF-8 as defined in &rfc3269;).</li>
|
||||
<li>Concatenate the Stream ID received from the server with the shared secret.</li>
|
||||
<li>Hash the concatenated string according to the SHA1 algorithm, i.e., SHA1( concat (sid, password)).</li>
|
||||
<li>Ensure that the hash output is in hexadecimal format, not binary or base64.</li>
|
||||
<li>Convert the hash output to all lowercase characters.</li>
|
||||
|
Loading…
Reference in New Issue
Block a user