Commit graph

22 commits

Author SHA1 Message Date
pedroGitt
1511962df1 Add serialization feature to OlmAccount
- new JNI API: serializeDataWithKeyJni() and initWithSerializedDataJni()
- update account unit test
- modify OlmAccount constructor API: an exception may be thrown
2016-10-20 17:42:57 +02:00
pedroGitt
8b050e5e1e Local variable renaming 2016-10-20 17:40:20 +02:00
pedroGitt
09fd7246ea Format update 2016-10-20 17:36:53 +02:00
pedroGitt
0cb45abdf3 Update logs 2016-10-20 17:36:20 +02:00
pedroGitt
a6913c49c2 Fix javadoc header comment 2016-10-18 19:00:23 +02:00
pedroGitt
034fa6be40 - Add new API for OlmUtility
- Introducing namespace AndroidOlmSdk
- Fix logs (function names mixed up)
- Add new check based on the calling java object instance type (IsInstanceOf())
- Fix return value for getXXXInstanceId() in case of failure. Now 0 is returned.
2016-10-18 15:59:36 +02:00
pedroGitt
4545b7bc19 Fix "invalid address or address of corrupt passed to dlfree" in 32bits platform devices 2016-10-17 16:53:36 +02:00
pedroGitt
7e69d96afc Add extra tests to check if the calling JAVA instance is the expected one 2016-10-17 16:48:29 +02:00
pedroGitt
ebfcd03ce5 - Add in/outbound group unit test OK 2016-10-14 18:43:57 +02:00
pedroGitt
1028099550 - Add inbound and outbound group sessions
- Modify constructors for inbound and outbound group sessions
- Add new Ecxception class
2016-10-14 15:27:20 +02:00
pedroGitt
57ec6fff88 Temp commit.. adding group session API in progress 2016-10-13 19:21:01 +02:00
pedroGitt
147df845d0 Enbale all ABI platforms 2016-10-13 14:39:44 +02:00
pedroGitt
572c7cd464 Renaming JNI API decryptMessage in decryptMessageJni 2016-10-13 10:44:59 +02:00
pedroGitt
e59ee33b67 Add missing copyright headers 2016-10-13 10:33:43 +02:00
pedroGitt
42c85adbc4 Update function API signatures with macros 2016-10-13 10:27:24 +02:00
pedroGitt
293a12a138 Fix warning compiler 2016-10-13 10:26:27 +02:00
PedroGitt
f88ee7677c - Fix encrypt API (update lencrypted ength)
- Fix warning compiler
2016-10-13 00:19:47 +02:00
pedroGitt
1679c4513f Temp commit: debug in progress 2016-10-12 19:04:50 +02:00
pedroGitt
f2ca1ce304 - Add OlmSession unit test
- Simplify JNI function signatures definition (Account & Session)
2016-10-11 15:53:49 +02:00
pedroGitt
67f7939470 - Add decryptMessageJni() to olm_session.cpp API
- review comments header
- refactor utility functions
2016-10-07 17:35:27 +02:00
pedroGitt
655c841cc3 - Update Unit tests for OlmAccount
- new file olm_utility.cpp to have a stand alone function to initialize/alloc a random buffer
 - new class OlmMessage
 - complete OlmSession API with encryptMessage()
 - comments review
 - OlmAccount unit tests are green
 - new gradle to compile the shared lib according to debug mode
2016-10-06 19:55:03 +02:00
pedroGitt
5573d3ab23 First commit adding Olm Lib for Android
- Add Android Studio project
2016-10-05 18:25:09 +02:00