From 5b7bda834bd41a133de853ec38bde0d8c956f87e Mon Sep 17 00:00:00 2001 From: wufengshan Date: Sun, 30 Jan 2022 16:11:35 +0800 Subject: [PATCH 1/2] Signed-off-by: wu-fengshan Changes to be committed: modified: api/@ohos.data.rdb.d.ts --- api/@ohos.data.rdb.d.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/api/@ohos.data.rdb.d.ts b/api/@ohos.data.rdb.d.ts index dfbcea11da..28f86beb49 100644 --- a/api/@ohos.data.rdb.d.ts +++ b/api/@ohos.data.rdb.d.ts @@ -150,18 +150,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.Data.DATA_APPDATAMGR - * @devices phone, tablet, tv, wearable, car - * @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 * -- Gitee From 2b96d4c3dd67f106fffd838ed33c3bc7f6981acd Mon Sep 17 00:00:00 2001 From: wufengshan <1414645694@qq.com> Date: Sun, 30 Jan 2022 18:29:15 +0800 Subject: [PATCH 2/2] Signed-off-by: wu-fengshan Changes to be committed: modified: api/@ohos.data.rdb.d.ts --- api/@ohos.data.rdb.d.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/api/@ohos.data.rdb.d.ts b/api/@ohos.data.rdb.d.ts index 28f86beb49..cf14b33fc3 100644 --- a/api/@ohos.data.rdb.d.ts +++ b/api/@ohos.data.rdb.d.ts @@ -231,13 +231,6 @@ declare namespace rdb { */ interface StoreConfig { name: string; - /** - * Indicates the encryptKey of the database file - * - * @since 8 - * @sysCap SystemCapability.Data.DATA_APPDATAMGR - */ - encryptKey: Uint8Array; } /** -- Gitee