1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-05 17:02:07 +03:00

Clarify client-level method for adding secret storage keys

This commit is contained in:
J. Ryan Stinnett
2019-12-04 13:45:56 +00:00
parent 9dc61faa6f
commit eeffe208ec
3 changed files with 7 additions and 6 deletions

View File

@@ -1062,7 +1062,7 @@ MatrixClient.prototype.checkEventSenderTrust = async function(event) {
* Add a key for encrypting secrets.
* The Secure Secret Storage API is currently UNSTABLE and may change without notice.
*
* @function module:client~MatrixClient#addSecretKey
* @function module:client~MatrixClient#addSecretStorageKey
* @param {string} algorithm the algorithm used by the key
* @param {object} opts the options for the algorithm. The properties used
* depend on the algorithm given. This object may be modified to pass
@@ -1136,7 +1136,7 @@ MatrixClient.prototype.checkEventSenderTrust = async function(event) {
wrapCryptoFuncs(MatrixClient, [
"bootstrapSecretStorage",
"addSecretKey",
"addSecretStorageKey",
"storeSecret",
"getSecret",
"isSecretStored",