From 7a90706555d8f028cfe7f5e7bdc6348c9e1753d4 Mon Sep 17 00:00:00 2001 From: lichenlong1 Date: Fri, 18 Feb 2022 10:18:25 +0800 Subject: [PATCH] description: remove changeEncryptKey JS interface Signed-off-by: lichenlong1 --- api/@ohos.data.rdb.d.ts | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/api/@ohos.data.rdb.d.ts b/api/@ohos.data.rdb.d.ts index 74c96231f0..4ddeecdf17 100644 --- a/api/@ohos.data.rdb.d.ts +++ b/api/@ohos.data.rdb.d.ts @@ -192,17 +192,6 @@ declare namespace rdb { executeSql(sql: string, bindArgs: Array, callback: AsyncCallback): void; executeSql(sql: string, bindArgs?: Array): Promise; - /** - * change the encrypted key(not null) if the database is configured with encrypted key. - * - * @note N/A - * @since 8 - * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - * @param newEncryptKey the encrypted key is uint8 form in a vector. - */ - changeEncryptKey(newEncryptKey:Uint8Array, callback: AsyncCallback):void; - changeEncryptKey(newEncryptKey:Uint8Array): Promise; - /** * beginTransaction before excute your sql * @@ -326,13 +315,6 @@ declare namespace rdb { */ interface StoreConfig { name: string; - /** - * Indicates the encryptKey of the database file - * - * @since 8 - * @syscap SystemCapability.DistributedDataManager.RelationalStore.Core - */ - encryptKey: Uint8Array; } /** -- Gitee