mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 23:28:51 -05:00
XEP-0385 (SIMS): Use 'hashes:2' (XEP-0300)
This commit is contained in:
parent
dd9b0da8d8
commit
00326569d1
23
xep-0385.xml
23
xep-0385.xml
@ -31,6 +31,12 @@ TODO:
|
||||
<supersededby/>
|
||||
<shortname>sims</shortname>
|
||||
&tobias;
|
||||
<revision>
|
||||
<version>0.2.0</version>
|
||||
<date>2017-09-22</date>
|
||||
<initials>fs</initials>
|
||||
<remark><p>Use 'urn:xmpp:hashes:2', bump namespace to 'urn:xmpp:sims:2'.</p></remark>
|
||||
</revision>
|
||||
<revision>
|
||||
<version>0.1.0</version>
|
||||
<date>2017-01-04</date>
|
||||
@ -124,13 +130,13 @@ TODO:
|
||||
<example caption='Sharing an image with a contact'><![CDATA[<message to='julient@shakespeare.lit' from='romeo@montague.lit'>
|
||||
<body>Look at the nice view from the summit.</body>
|
||||
<reference xmlns='urn:xmpp:reference:0' begin='17' end='20' type='data'>
|
||||
<media-sharing xmlns='urn:xmpp:sims:1'>
|
||||
<media-sharing xmlns='urn:xmpp:sims:2'>
|
||||
<file xmlns='urn:xmpp:jingle:apps:file-transfer:4'>
|
||||
<media-type>image/jpeg</media>
|
||||
<name>summit.jpg</name>
|
||||
<size>3032449</size>
|
||||
<hash xmlns='urn:xmpp:hashes:1' algo='sha3-256'>a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a</hash>
|
||||
<hash xmlns='urn:xmpp:hashes:1' algo='id-blake2b256'>a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a</hash>
|
||||
<hash xmlns='urn:xmpp:hashes:2' algo='sha3-256'>2XarmwTlNxDAMkvymloX3S5+VbylNrJt/l5QyPa+YoU=</hash>
|
||||
<hash xmlns='urn:xmpp:hashes:2' algo='id-blake2b256'>2AfMGH8O7UNPTvUVAM9aK13mpCY=</hash>
|
||||
<desc>Photo from the summit.</desc>
|
||||
<thumbnail xmlns='urn:xmpp:thumbs:1'uri='cid:sha1+ffd7c8d28e9c5e82afea41f97108c6b4@bob.xmpp.org' media-type='image/png' width='128' height='96'/>
|
||||
</file>
|
||||
@ -238,13 +244,13 @@ TODO:
|
||||
</body>
|
||||
</html>
|
||||
<reference xmlns='urn:xmpp:reference:0' begin='17' end='20' type='data'>
|
||||
<media-sharing xmlns='urn:xmpp:sims:1'>
|
||||
<media-sharing xmlns='urn:xmpp:sims:2'>
|
||||
<file xmlns='urn:xmpp:jingle:apps:file-transfer:4'>
|
||||
<media-type>image/jpeg</media>
|
||||
<name>summit.jpg</name>
|
||||
<size>3032449</size>
|
||||
<hash xmlns='urn:xmpp:hashes:1' algo='sha3-256'>a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a</hash>
|
||||
<hash xmlns='urn:xmpp:hashes:1' algo='id-blake2b256'>a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a</hash>
|
||||
<hash xmlns='urn:xmpp:hashes:2' algo='sha3-256'>2XarmwTlNxDAMkvymloX3S5+VbylNrJt/l5QyPa+YoU=</hash>
|
||||
<hash xmlns='urn:xmpp:hashes:2' algo='id-blake2b256'>2AfMGH8O7UNPTvUVAM9aK13mpCY=</hash>
|
||||
<desc>Photo from the summit.</desc>
|
||||
<thumbnail xmlns='urn:xmpp:thumbs:1'uri='cid:sha1+ffd7c8d28e9c5e82afea41f97108c6b4@bob.xmpp.org' media-type='image/png' width='128' height='96'/>
|
||||
</file>
|
||||
@ -255,7 +261,6 @@ TODO:
|
||||
</media-sharing>
|
||||
</reference>
|
||||
</message>]]></example>
|
||||
<p class='box'>Note: that ni URIs use a Base64URL encoding for the hash value and &xep0300; uses a hexencoding.</p>
|
||||
<p>This way the client can aquire the content addressable resource mentioned in the img-tag in the XHTML-IM message, and when finished show in in the rendered XHTML-IM message.</p>
|
||||
</section2>
|
||||
</section1>
|
||||
@ -279,7 +284,7 @@ TODO:
|
||||
</section2>
|
||||
</section1>
|
||||
<section1 topic='Acknowledgements' anchor='ack'>
|
||||
<p>Thanks to Kim Alvefur, Emmanuel Gil Peyrot, Kevin Smith, and Nicolas Vérité for their helpful comments.</p>
|
||||
<p>Thanks to Kim Alvefur, Emmanuel Gil Peyrot, Kevin Smith, Nicolas Vérité, and Florian Schmaus for their helpful comments.</p>
|
||||
</section1>
|
||||
<section1 topic='IANA Considerations' anchor='iana'>
|
||||
<p>REQUIRED.</p>
|
||||
@ -289,7 +294,7 @@ TODO:
|
||||
<section2 topic='Protocol Namespaces' anchor='registrar-protocol'>
|
||||
<p>The XMPP Registrar will include the following namespace in its registry of protocol namespaces at &NAMESPACES;:</p>
|
||||
<ul>
|
||||
<li>urn:xmpp:sims:1</li>
|
||||
<li>urn:xmpp:sims:2</li>
|
||||
</ul>
|
||||
</section2>
|
||||
</section1>
|
||||
|
Loading…
Reference in New Issue
Block a user