提交 9158e82f 编写于 作者: A Annie_wang

update docs

Signed-off-by: NAnnie_wang <annie.wangli@huawei.com>
上级 77c7d6ab
...@@ -1861,7 +1861,7 @@ Provides APIs for certificate chain validator operations. ...@@ -1861,7 +1861,7 @@ Provides APIs for certificate chain validator operations.
validate(certChain : CertChainData, callback : AsyncCallback\<void>) : void validate(certChain : CertChainData, callback : AsyncCallback\<void>) : void
Validates the X.509 certificate chain. This API uses an asynchronous callback to return the result. Validates the X.509 certificate chain. This API uses an asynchronous callback to return the result.
The certificate chain validator does not verify the certificate validity period because the system time on the device is untrusted. To check the validity period of a certificate, use the [checkValidityWithDate()](#checkvaliditywithdate) API of the **X509Cert** class. For details, see [Certificate Specifications](./../security/cert-overview.md#certificate-specifications). The certificate chain validator does not verify the certificate validity period because the system time on the device is untrusted. To check the validity period of a certificate, use the [checkValidityWithDate()](#checkvaliditywithdate) API of the **X509Cert** class. For details, see [Certificate Specifications](../../security/cert-overview.md#certificate-specifications).
**System capability**: SystemCapability.Security.Cert **System capability**: SystemCapability.Security.Cert
...@@ -1903,7 +1903,7 @@ validator.validate(certChainData, function (error, data) { ...@@ -1903,7 +1903,7 @@ validator.validate(certChainData, function (error, data) {
validate(certChain : CertChainData) : Promise\<void> validate(certChain : CertChainData) : Promise\<void>
Validates the X.509 certificate chain. This API uses a promise to return the result. Validates the X.509 certificate chain. This API uses a promise to return the result.
The certificate chain validator does not verify the certificate validity period because the system time on the device is untrusted. To check the validity period of a certificate, use the [checkValidityWithDate()](#checkvaliditywithdate) API of the **X509Cert** class. For details, see [Certificate Specifications](./../security/cert-overview.md#certificate-specifications). The certificate chain validator does not verify the certificate validity period because the system time on the device is untrusted. To check the validity period of a certificate, use the [checkValidityWithDate()](#checkvaliditywithdate) API of the **X509Cert** class. For details, see [Certificate Specifications](../../security/cert-overview.md#certificate-specifications).
**System capability**: SystemCapability.Security.Cert **System capability**: SystemCapability.Security.Cert
......
...@@ -35,7 +35,7 @@ Currently, only the relational database (RDB) and key-value database (KVDB, sche ...@@ -35,7 +35,7 @@ Currently, only the relational database (RDB) and key-value database (KVDB, sche
| Name| Type | Mandatory| Description | | Name| Type | Mandatory| Description |
| ------ | --------------------------------------------------- | ---- | ---------------------- | | ------ | --------------------------------------------------- | ---- | ---------------------- |
| field | string | Yes | Column name in the database table. | | field | string | Yes | Column name in the database table. |
| value | [ValueType](js-apis-data-ValuesBucket.md#valuetype) | Yes | Value to match.| | value | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | Value to match.|
**Return value** **Return value**
...@@ -65,7 +65,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o ...@@ -65,7 +65,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o
| Name| Type | Mandatory| Description | | Name| Type | Mandatory| Description |
| ------ | --------------------------------------------------- | ---- | ---------------------- | | ------ | --------------------------------------------------- | ---- | ---------------------- |
| field | string | Yes | Column name in the database table. | | field | string | Yes | Column name in the database table. |
| value | [ValueType](js-apis-data-ValuesBucket.md#valuetype) | Yes | Value to match.| | value | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | Value to match.|
**Return value** **Return value**
...@@ -439,8 +439,8 @@ Currently, only the RDB supports this **DataSharePredicates** object. ...@@ -439,8 +439,8 @@ Currently, only the RDB supports this **DataSharePredicates** object.
| Name| Type | Mandatory| Description | | Name| Type | Mandatory| Description |
| ------ | --------------------------------------------------- | ---- | ------------------------ | | ------ | --------------------------------------------------- | ---- | ------------------------ |
| field | string | Yes | Column name in the database table. | | field | string | Yes | Column name in the database table. |
| low | [ValueType](js-apis-data-ValuesBucket.md#valuetype) | Yes | The lowest value of the range.| | low | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | The lowest value of the range.|
| high | [ValueType](js-apis-data-ValuesBucket.md#valuetype) | Yes | The highest value of the range.| | high | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | The highest value of the range.|
**Return value** **Return value**
...@@ -470,8 +470,8 @@ Currently, only the RDB supports this **DataSharePredicates** object. ...@@ -470,8 +470,8 @@ Currently, only the RDB supports this **DataSharePredicates** object.
| Name| Type | Mandatory| Description | | Name| Type | Mandatory| Description |
| ------ | --------------------------------------------------- | ---- | ------------------------ | | ------ | --------------------------------------------------- | ---- | ------------------------ |
| field | string | Yes | Column name in the database table. | | field | string | Yes | Column name in the database table. |
| low | [ValueType](js-apis-data-ValuesBucket.md#valuetype) | Yes | The lowest value of the range.| | low | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | The lowest value of the range.|
| high | [ValueType](js-apis-data-ValuesBucket.md#valuetype) | Yes | The highest value of the range.| | high | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | The highest value of the range.|
**Return value** **Return value**
...@@ -501,7 +501,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o ...@@ -501,7 +501,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o
| Name | Type | Mandatory| Description | | Name | Type | Mandatory| Description |
| ------- | --------- | ---- | ---------------------- | | ------- | --------- | ---- | ---------------------- |
| field | string | Yes | Column name in the database table. | | field | string | Yes | Column name in the database table. |
| value | [ValueType](js-apis-data-ValuesBucket.md#valuetype) | Yes | Value to match.| | value | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | Value to match.|
**Return value** **Return value**
...@@ -531,7 +531,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o ...@@ -531,7 +531,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o
| Name| Type | Mandatory| Description | | Name| Type | Mandatory| Description |
| ------ | --------------------------------------------------- | ---- | ---------------------- | | ------ | --------------------------------------------------- | ---- | ---------------------- |
| field | string | Yes | Column name in the database table. | | field | string | Yes | Column name in the database table. |
| value | [ValueType](js-apis-data-ValuesBucket.md#valuetype) | Yes | Value to match.| | value | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | Value to match.|
**Return value** **Return value**
...@@ -561,7 +561,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o ...@@ -561,7 +561,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o
| Name | Type | Mandatory| Description | | Name | Type | Mandatory| Description |
| ------- | --------- | ---- | ---------------------- | | ------- | --------- | ---- | ---------------------- |
| field | string | Yes | Column name in the database table. | | field | string | Yes | Column name in the database table. |
| value | [ValueType](js-apis-data-ValuesBucket.md#valuetype) | Yes | Value to match.| | value | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | Value to match.|
**Return value** **Return value**
...@@ -591,7 +591,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o ...@@ -591,7 +591,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o
| Name | Type | Mandatory| Description | | Name | Type | Mandatory| Description |
| ------- | --------- | ---- | ---------------------- | | ------- | --------- | ---- | ---------------------- |
| field | string | Yes | Column name in the database table. | | field | string | Yes | Column name in the database table. |
| value | [ValueType](js-apis-data-ValuesBucket.md#valuetype) | Yes | Value to match.| | value | [ValueType](js-apis-data-valuesBucket.md#valuetype) | Yes | Value to match.|
**Return value** **Return value**
...@@ -790,7 +790,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o ...@@ -790,7 +790,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o
| Name | Type | Mandatory| Description | | Name | Type | Mandatory| Description |
| ------- | ---------------- | ---- | --------------------------------------- | | ------- | ---------------- | ---- | --------------------------------------- |
| field | string | Yes| Column name in the database table. | | field | string | Yes| Column name in the database table. |
| value | Array&lt;[ValueType](js-apis-data-ValuesBucket.md#valuetype)&gt; | Yes | Array of the values to match.| | value | Array&lt;[ValueType](js-apis-data-valuesBucket.md#valuetype)&gt; | Yes | Array of the values to match.|
**Return value** **Return value**
...@@ -820,7 +820,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o ...@@ -820,7 +820,7 @@ Currently, only the RDB and KVDB (schema) support this **DataSharePredicates** o
| Name | Type | Mandatory| Description | | Name | Type | Mandatory| Description |
| ------- | ---------------- | ---- | --------------------------------------- | | ------- | ---------------- | ---- | --------------------------------------- |
| field | string | Yes | Column name in the database table. | | field | string | Yes | Column name in the database table. |
| value | Array&lt;[ValueType](js-apis-data-ValuesBucket.md#valuetype)&gt; | Yes | Array of the values to match.| | value | Array&lt;[ValueType](js-apis-data-valuesBucket.md#valuetype)&gt; | Yes | Array of the values to match.|
**Return value** **Return value**
......
...@@ -2395,7 +2395,7 @@ Writes data to this single KV store. This API uses an asynchronous callback to r ...@@ -2395,7 +2395,7 @@ Writes data to this single KV store. This API uses an asynchronous callback to r
| Name | Type | Mandatory| Description | | Name | Type | Mandatory| Description |
| -------- | ------------------------------------------------------------ | ---- | ------------------ | | -------- | ------------------------------------------------------------ | ---- | ------------------ |
| value | Array&lt;[ValuesBucket](js-apis-data-ValuesBucket.md#valuesbucket)&gt; | Yes | Data to write.| | value | Array&lt;[ValuesBucket](js-apis-data-valuesBucket.md#valuesbucket)&gt; | Yes | Data to write.|
| callback | AsyncCallback&lt;void&gt; | Yes | Callback invoked to return the result. | | callback | AsyncCallback&lt;void&gt; | Yes | Callback invoked to return the result. |
**Error codes** **Error codes**
...@@ -2447,7 +2447,7 @@ Write data to this KV store. This API uses a promise to return the result. ...@@ -2447,7 +2447,7 @@ Write data to this KV store. This API uses a promise to return the result.
| Name| Type | Mandatory| Description | | Name| Type | Mandatory| Description |
| ------ | ------------------------------------------------------------ | ---- | ------------------ | | ------ | ------------------------------------------------------------ | ---- | ------------------ |
| value | Array&lt;[ValuesBucket](js-apis-data-ValuesBucket.md#valuesbucket)&gt; | Yes | Data to write. | | value | Array&lt;[ValuesBucket](js-apis-data-valuesBucket.md#valuesbucket)&gt; | Yes | Data to write. |
**Return value** **Return value**
......
...@@ -186,7 +186,7 @@ Allows an application to publish sticky common events. ...@@ -186,7 +186,7 @@ Allows an application to publish sticky common events.
## ohos.permission.SYSTEM_FLOAT_WINDOW ## ohos.permission.SYSTEM_FLOAT_WINDOW
Allows an application to be displayed in a floating window on top of other apps. Allows an application to be displayed in a floating window on top of other applications.
**Permission level**: system_basic **Permission level**: system_basic
...@@ -406,7 +406,7 @@ Allows an application to call the API for restoring factory settings. ...@@ -406,7 +406,7 @@ Allows an application to call the API for restoring factory settings.
## ohos.permission.GRANT_SENSITIVE_PERMISSIONS ## ohos.permission.GRANT_SENSITIVE_PERMISSIONS
Allows an application to grant sensitive permissions to other apps. Allows an application to grant sensitive permissions to other applications.
**Permission level**: system_core **Permission level**: system_core
...@@ -416,7 +416,7 @@ Allows an application to grant sensitive permissions to other apps. ...@@ -416,7 +416,7 @@ Allows an application to grant sensitive permissions to other apps.
## ohos.permission.REVOKE_SENSITIVE_PERMISSIONS ## ohos.permission.REVOKE_SENSITIVE_PERMISSIONS
Allows an application to revoke sensitive permissions granted to other apps. Allows an application to revoke sensitive permissions granted to other applications.
**Permission level**: system_core **Permission level**: system_core
...@@ -426,7 +426,7 @@ Allows an application to revoke sensitive permissions granted to other apps. ...@@ -426,7 +426,7 @@ Allows an application to revoke sensitive permissions granted to other apps.
## ohos.permission.GET_SENSITIVE_PERMISSIONS ## ohos.permission.GET_SENSITIVE_PERMISSIONS
Allows an application to obtain the sensitive permissions that have been granted to other apps. Allows an application to obtain the sensitive permissions that have been granted to other applications.
**Permission level**: system_core **Permission level**: system_core
...@@ -436,7 +436,7 @@ Allows an application to obtain the sensitive permissions that have been granted ...@@ -436,7 +436,7 @@ Allows an application to obtain the sensitive permissions that have been granted
## ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION ## ohos.permission.INTERACT_ACROSS_LOCAL_ACCOUNTS_EXTENSION
Allows an application to set the attributes of apps of other users. Allows an application to set the attributes of applications of other users.
**Permission level**: system_core **Permission level**: system_core
...@@ -506,7 +506,7 @@ Allows an application to install and uninstall other applications. ...@@ -506,7 +506,7 @@ Allows an application to install and uninstall other applications.
## ohos.permission.MANAGE_SHORTCUTS ## ohos.permission.MANAGE_SHORTCUTS
Allows an application to query and start shortcuts of other apps. Allows an application to query and start shortcuts of other applications.
**Permission level**: system_core **Permission level**: system_core
...@@ -546,7 +546,7 @@ Allows an application to start Feature abilities in the background. ...@@ -546,7 +546,7 @@ Allows an application to start Feature abilities in the background.
## ohos.permission.BUNDLE_ACTIVE_INFO ## ohos.permission.BUNDLE_ACTIVE_INFO
Allows an application to obtain how long other apps have been running in the foreground or background. Allows an application to obtain how long other applications have been running in the foreground or background.
**Permission level**: system_basic **Permission level**: system_basic
...@@ -606,7 +606,7 @@ Allows an application to use agent-powered reminders. ...@@ -606,7 +606,7 @@ Allows an application to use agent-powered reminders.
## ohos.permission.CONTROL_TASK_SYNC_ANIMATOR ## ohos.permission.CONTROL_TASK_SYNC_ANIMATOR
Allows apps to use sync task animations. Allows applications to use sync task animations.
**Permission level**: system_core **Permission level**: system_core
...@@ -616,7 +616,7 @@ Allows apps to use sync task animations. ...@@ -616,7 +616,7 @@ Allows apps to use sync task animations.
## ohos.permission.INPUT_MONITORING ## ohos.permission.INPUT_MONITORING
Allows an application to listen for input events. Only the system signature apps can apply for this permission. Allows an application to listen for input events. Only the system signed applications can apply for this permission.
**Permission level**: system_core **Permission level**: system_core
...@@ -1216,7 +1216,7 @@ Allows an application to read the health data of the user. ...@@ -1216,7 +1216,7 @@ Allows an application to read the health data of the user.
## ohos.permission.GET_DEFAULT_APPLICATION ## ohos.permission.GET_DEFAULT_APPLICATION
Allows an application to query default apps. Allows an application to query default applications.
**Permission level**: system_core **Permission level**: system_core
...@@ -1226,7 +1226,7 @@ Allows an application to query default apps. ...@@ -1226,7 +1226,7 @@ Allows an application to query default apps.
## ohos.permission.SET_DEFAULT_APPLICATION ## ohos.permission.SET_DEFAULT_APPLICATION
Allows an application to set and reset default apps. Allows an application to set and reset default applications.
**Permission level**: system_core **Permission level**: system_core
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册