aboutsummaryrefslogtreecommitdiff
path: root/python/olm/__init__.py
diff options
context:
space:
mode:
authorDamir Jelić <poljar@termina.org.uk>2018-11-28 14:54:09 +0100
committerHubert Chathi <hubert@uhoreg.ca>2019-04-08 15:04:32 -0400
commitf160d693b627a1159ed5837a4e9630100ab3f67e (patch)
tree140bd42754fa01744957d8f3da05fcd3f66a02ac /python/olm/__init__.py
parent0883a922ff39981e27cff7e677a6f79a5f324fab (diff)
python: Add PK bindings.
This patch adds bindings to the PK part of the Olm library contained in the pk.h header file. Encryption, decryption as well as pickling/unpickling of the decryption object is supported. Signed-off-by: Damir Jelić <poljar@termina.org.uk>
Diffstat (limited to 'python/olm/__init__.py')
-rw-r--r--python/olm/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/olm/__init__.py b/python/olm/__init__.py
index 015c4f8..7b7423b 100644
--- a/python/olm/__init__.py
+++ b/python/olm/__init__.py
@@ -36,3 +36,10 @@ from .group_session import (
OutboundGroupSession,
OlmGroupSessionError
)
+from .pk import (
+ PkMessage,
+ PkEncryption,
+ PkDecryption,
+ PkEncryptionError,
+ PkDecryptionError
+)