diff --git a/api/@ohos.data.rdb.d.ts b/api/@ohos.data.rdb.d.ts index dfbcea11dae41540078e23fd102a837239841a12..cf14b33fc37f50af2fecbd79de8ffcfa129533ad 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 * @@ -243,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; } /**