Implement methods in NotificationsCryptoModule to decrypt data
Summary:
This differential implements a method to decrypt data in NotificationsCryptoModule. Additionally some CryptoModule code is
simplified. I don't see the reason the ckeck for matching inbound sessions every time we receive a message. Additionally we would
have to store keyserver identity keys which would make the code more complicated.
Test Plan:
After succesfull log-in execute in the keyserver code to encrypt some mock data. Then hardcode this data in
NotificationsService and call NotificationsCryptoModule::decrypt() method on it. Build the app again and send a notif to trigger
decryption code execution. Examine logs from the NSE.
Reviewers: tomek, atul, bartek, ashoat
Reviewed By: ashoat
Subscribers: anunay, ashoat
Differential Revision: https://phab.comm.dev/D7796