aboutsummaryrefslogtreecommitdiff
path: root/java
AgeCommit message (Collapse)Author
2016-11-14Fix the decrypt issue (crash on V5.1.1) when the message to decrypt contains ↵AndroidSdk_v0.2.0pedroGitt
emojis: - add an internal specific JNI function (javaCStringToUtf8()) to perform the UTF-8 conversion - the SDK is configured to enable/disable the use of javaCStringToUtf8()
2016-11-08Update initInboundSessionWithAccountFrom() return code:pedroGitt
- return code is a basic error code (0 OK, -1 KO) Remove TODO comments
2016-11-08Light refactoring by using test helper methods getFingerprintKey() and ↵pedroGitt
getIdentityKey()
2016-11-07Update test02AliceToBobBackAndForth() with a last sequence where Alice ↵pedroGitt
encrypts and Bob decrypts
2016-11-07Add new API to verify object releasepedroGitt
2016-11-07Fix javadoc headerpedroGitt
2016-11-07Set javadoc level to privatepedroGitt
2016-10-31Refactoring serialization flow:pedroGitt
- New class CommonSerializeUtils: helper class dedicated to serialization, to contain common code to all the OlmXXX classes that require to be serialized - make OlmXXX classes extending CommonSerializeUtils
2016-10-28Fix OlmException cast issuepedroGitt
- OlmException class extends now from IOException - update corresponding serializing unit tests - update
2016-10-28Fix javadoc header commentspedroGitt
2016-10-27Add new API to provide the SDK versionpedroGitt
2016-10-27Add new tests for multiple creations of account and outbound group sessions: ↵pedroGitt
check random generation function in JNI works properly
2016-10-27Introduce a new log file (ENABLE_JNI_LOG) to disable/enable logs in JNI sidepedroGitt
2016-10-27Remove unsecure logs (keys value were printed)pedroGitt
Rename local parameter properly
2016-10-27Update test01VerifyEd25519Signing() with a real messagepedroGitt
2016-10-27Fix random issue: increase random seed precision to micro secAndroidSdk_v0.1.0pedroGitt
- previously the random seed was seconds based, and it could originate identical identity keys for different OlmAccount
2016-10-26Add javadoc auto generation:pedroGitt
- add a buildJavaDoc task in build.gradle - update classes javadoc headers
2016-10-26Revert loadLibrary as static.pedroGitt
2016-10-26Update verifyEd25519Signature() unit test: add a test to detect a key length ↵pedroGitt
too small - add logs in verifyEd25519SignatureJni() to print the key used
2016-10-25Add missing copyright headerpedroGitt
Add sanity tests for OlmAccount and OlmSession Add a first version of MatchInboundSession
2016-10-25Update return code for initOutboundSessionWithAccount() and ↵pedroGitt
initInboundSessionWithAccount(): An error code is now returned, no utility to return the object itself (initial implementation matching iOS)
2016-10-25Update due to renaming in olm_account.cpp (maxOneTimeKeysJni() & ↵pedroGitt
generateOneTimeKeysJni()) Fix removeOneTimeKeysForSession() default return code
2016-10-25Update olm_matches_inbound_session_(from)() return code processingpedroGitt
2016-10-25Renaming:pedroGitt
- generateOneTimeKeys => generateOneTimeKeysJni - maxOneTimeKeys => maxOneTimeKeysJni
2016-10-25Add new file: test helper methodspedroGitt
2016-10-24Fix compiler warningspedroGitt
- for 32bits platform target - when debug flag is not defined
2016-10-24Add possibility to define NDK_DEBUG flagpedroGitt
2016-10-24Add possibility to define NDK_DEBUG flagpedroGitt
2016-10-24Update commentspedroGitt
2016-10-24Add missing account releaseAccount for test01VerifyEd25519Signing()pedroGitt
2016-10-23Add serialization for inbound group sessionpedroGitt
- remove compiler warnings when logs are not enabled - new getInstanceId() function to refactor code
2016-10-21Add serialization for outbound group sessionpedroGitt
2016-10-21Update android platform to 16pedroGitt
2016-10-21Add getRandomKey()pedroGitt
2016-10-21Serialization for OlmAccount and OlmSession OKpedroGitt
2016-10-20Add serialization feature to OlmAccountpedroGitt
- new JNI API: serializeDataWithKeyJni() and initWithSerializedDataJni() - update account unit test - modify OlmAccount constructor API: an exception may be thrown
2016-10-20Local variable renamingpedroGitt
2016-10-20Update verifyEd25519Signature() to fix error message processingpedroGitt
2016-10-20Format updatepedroGitt
2016-10-20Update logspedroGitt
2016-10-20First update with serialization mechanismpedroGitt
2016-10-20First update with serialization mechanismpedroGitt
2016-10-19Add new exception message for deserializationpedroGitt
2016-10-19Update due to the de/serialization APIpedroGitt
2016-10-18Fix verifyEd25519Signature() API to properly return the error message in ↵pedroGitt
case signature verification failed - update unit tests
2016-10-18Fix javadoc header commentpedroGitt
2016-10-18Add OlmUtility classpedroGitt
- add unit tests for OlmUtility - rename OlmGroupTest to OlmGroupSessionTest - update OlmException
2016-10-18- Add new API for OlmUtilitypedroGitt
- 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-17- Update Javadoc for keys constants definitionspedroGitt
- change return code from removeOneTimeKeysForSession() (direct value from JNI is now returned)
2016-10-17Update Javadoc method headers with direct link to PRE_KEY definitionpedroGitt