diff --git a/api/@ohos.data.rdb.d.ts b/api/@ohos.data.rdb.d.ts index 74c96231f01fba15d3d2d8d4afd5acc4b6f0811d..4ddeecdf177a887cb10cf35f5aa131096f819ea4 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; } /**