aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/eu/siacs/conversations/crypto/axolotl/XmppAxolotlSession.java (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-07-31Provide process function for key transport messageAndreas Straub1-6/+14
2015-07-31Refactor axolotl message processing workflowAndreas Straub1-8/+5
XmppAxolotlMessage is now entirely responsible for handling encryption and decryption of messages, only leveraging XmppAxolotlSession as a packing/unpacking primitive for payload keys. Removed pseudo-dead session generation code step from prepareMessage function, as sessions have been created by invoking the TrustKeysActivity for a while now. Added prepareKeyTransportMessage function, which creates a message with no payload. The key that is packed into the header keyElements can then be used for other purposes (e.g. encrypted file transfer).
2015-07-31Reformat codeAndreas Straub1-1/+1
2015-07-31Change to new wire protocol versionAndreas Straub1-4/+4
2015-07-29Fix NPE: consider unknown keys UNDECIDEDAndreas Straub1-1/+2
2015-07-29Refactor out inner classes, cache trust storeAndreas Straub1-0/+131
Moves SQLiteAxolotlStore and XmppAxolotlSession into proper classes. IdentityKeys trust statuses are now cached in an LruCache to prevent hammering the database when rendering the UI.