summaryrefslogtreecommitdiff
path: root/slixmpp/plugins/xep_0300/__init__.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-02-11 04:02:20 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-02-11 04:02:20 +0000
commit3721bf9f6b19ceaae75454956571c33caf5f1e87 (patch)
tree32f6e8c9dbd4a086d1881c6b46cb2b5d82d73bb6 /slixmpp/plugins/xep_0300/__init__.py
parent802949eba817046c758a12bbc7e28e420c2bec86 (diff)
downloadslixmpp-3721bf9f6b19ceaae75454956571c33caf5f1e87.tar.gz
slixmpp-3721bf9f6b19ceaae75454956571c33caf5f1e87.tar.bz2
slixmpp-3721bf9f6b19ceaae75454956571c33caf5f1e87.tar.xz
slixmpp-3721bf9f6b19ceaae75454956571c33caf5f1e87.zip
Implement XEP-0300 (Use of Cryptographic Hash Functions in XMPP)
This is used to provide hash agility support and let other XEPs select which hash function they support.
Diffstat (limited to 'slixmpp/plugins/xep_0300/__init__.py')
-rw-r--r--slixmpp/plugins/xep_0300/__init__.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/slixmpp/plugins/xep_0300/__init__.py b/slixmpp/plugins/xep_0300/__init__.py
new file mode 100644
index 00000000..522d40e3
--- /dev/null
+++ b/slixmpp/plugins/xep_0300/__init__.py
@@ -0,0 +1,16 @@
+"""
+ Slixmpp: The Slick XMPP Library
+ Copyright (C) 2017 Emmanuel Gil Peyrot
+ This file is part of Slixmpp.
+
+ See the file LICENSE for copying permission.
+"""
+
+from slixmpp.plugins.base import register_plugin
+
+from slixmpp.plugins.xep_0300 import stanza
+from slixmpp.plugins.xep_0300.stanza import Hash
+from slixmpp.plugins.xep_0300.hash import XEP_0300
+
+
+register_plugin(XEP_0300)