- Documents: Symmetric AES-GCM secret key: used to encrypt and decrypt a document. This secret key is stored encrypted for one or several users in the user canister.
- Users:
- RSA-OAEP public key: used to encrypt the symmetric AES secret key of a document the user should have access to. The public key for each registered user is stored in the Orchestrator. RSA-OAEP private key: used to decrypt the symmetric AES secret key of a document stored in the user canister. Once the frontend decrypts the secret key, it can use this key for decrypting the corresponding document stored in the backend. The private key never leaves the client-side and is not stored anywhere else.



