End-to-End Encryption
- 5 Articles
This method returns the user's private and public keys stored on the server. Example call {
"msg": "method",
"method": "e2e.fetchMyKeys",
"id": "8",
"params": []
} Example response {
"msg": "result",
"id": "8",
...
This method returns all users of an encrypted room who don't yet have the E2E key on their subscription. Payload parameters Example call {
"msg": "method",
"method": "e2e.getUsersOfRoomWithoutKey",
"id": "8",
"params": [
...
This method marks an existing room as encrypted. Payload parameters Example call {
"msg": "method",
"method": "e2e.setRoomKeyID",
"id": "8",
"params": [
"rid",
"keyID"
]
} Example response {
"m...
This method changes the user's private and public keys on the server. Payload parameters Example call {
"msg": "method",
"method": "e2e.setUserPublicAndPivateKeys",
"id": "8",
"params": [{
"public_key":"{\"alg\":\...
This method has been deprecated and is scheduled for removal in the 8.0.0 release . This method updates the user subscription to save the E2E key. Payload parameters Example call {
"msg": "method",
"method": "e2e.updateGroup...