diff --git a/src/client.js b/src/client.js index 70a9f7950..8f03b24bd 100644 --- a/src/client.js +++ b/src/client.js @@ -1071,7 +1071,6 @@ function wrapCryptoFuncs(MatrixClient, names) { wrapCryptoFuncs(MatrixClient, [ "resetCrossSigningKeys", "getCrossSigningId", - "getCrossSigningKey", "getStoredCrossSigningForUser", "checkUserTrust", "checkDeviceTrust", diff --git a/src/crypto/index.js b/src/crypto/index.js index 5918bfa07..a81243f75 100644 --- a/src/crypto/index.js +++ b/src/crypto/index.js @@ -726,17 +726,6 @@ Crypto.prototype.getCrossSigningId = function(type) { return this._crossSigningInfo.getId(type); }; -/** - * Gets the user's cross-signing key. - * @param {string} type The key type ("master", "self_signing", or "user_signing") - * @param {string} expectedPublicKey The matching public key or undefined to use - * the stored public key for the given key type. - * @returns {Array} An array with [ public key, Olm.PkSigning ] - */ -Crypto.prototype.getCrossSigningKey = function(type, expectedPublicKey) { - return this._crossSigningInfo.getCrossSigningKey(type, expectedPublicKey); -}; - /** * Get the cross signing information for a given user. *