Decryption Process
- Client receives encrypted message and the token
- Client makes request to XQ backend and passes access token and the token extracted from the message
- Backend checks that access token received is valid and checks that the user who sent the token is a valid user and allowed to view the message
- After user is validated as a recipient, backend sends encryption key to that client
- Client uses encryption key to decrypt the data.
Tagged: