133
edits
(→Architecture Designs: Add notices of data encryption/decryption) |
(→Ajax Protocol: Add secure connection AJAX) |
||
| Line 87: | Line 87: | ||
=== Ajax Protocol === | === Ajax Protocol === | ||
=== RSA public key exchange === | |||
Request | |||
{ | |||
action: 'require-public-key' | |||
} | |||
Response | |||
{ | |||
publicKey: <base64> | |||
} | |||
{ | |||
error: <reason> | |||
} | |||
=== Send symmetric key === | |||
Request | |||
{ | |||
action: 'send-symmetric-key', | |||
wrappedSymmetricKey: <base64> | |||
} | |||
Response | |||
{ | |||
ticket: <ticket> | |||
} | |||
{ | |||
error: <reason> | |||
} | |||
=== Poll UUID === | |||
Request | |||
{ | |||
action: 'poll-uuid' | |||
ticket: <ticket> | |||
} | |||
Response | |||
{ | |||
done: true, | |||
encryptedUUID: <base64>, | |||
} | |||
{ | |||
done: true, | |||
error: <reason> | |||
} | |||
{ | |||
done: false // Symmetic key unwrapping or encrypting UUID | |||
} | |||
==== Touch Events ==== | ==== Touch Events ==== | ||
edits