Add a key for encrypting secrets.
Optional
keyId: stringCheck whether a key matches what we expect based on the key info
Get the key information for a given ID.
Optional
keyId: null | stringCheck if a secret is stored on the server.
Request a secret from another device
Implements Secure Secret Storage and Sharing (MSC1946)
Deprecated
This is just a backwards-compatibility hack which will be removed soon. Use SecretStorage.ServerSideSecretStorageImpl from
../secret-storage
and/or SecretSharing from./SecretSharing
.