Receive message packet from server. Decrypt packet and check/verify signature Decode JSON into objects that can be parsed. Save the encrypted message data (not the plain text) into the database. --Finished.