/ohos5.0/base/security/device_security_level/oem_property/common/ |
H A D | dslm_credential_utils.c | 296 if (attestation == NULL) { in FreePublicKeyAttestation() 300 FREE(attestation->publicKey.data); in FreePublicKeyAttestation() 303 FREE(attestation->signature.data); in FreePublicKeyAttestation() 310 if (attestation == NULL) { in FreePayloadAttestation() 313 if (attestation->payload.data != NULL) { in FreePayloadAttestation() 314 FREE(attestation->payload.data); in FreePayloadAttestation() 317 FREE(attestation->signature.data); in FreePayloadAttestation() 348 FreePayloadAttestation(attestation); in ParsePayloadAttestation() 371 …attestation->signature.length = (uint32_t)Base64UrlDecodeApp((uint8_t *)sigData, &attestation->sig… in ParsePublicKeyAttestation() 372 if (attestation->signature.length == 0 || attestation->signature.data == NULL) { in ParsePublicKeyAttestation() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/ |
H A D | js-apis-deviceAttest-sys.md | 4 You can use the APIs provided by the **deviceAttest** module to obtain the device attestation resul… 22 Obtains details about the device attestation result from the cloud. This API uses an asynchronous c… 67 Obtains details about the device attestation result from the cloud. This API uses a promise to retu… 110 Obtains details about the device attestation result from the cloud synchronously. 118 | [AttestResultInfo](#attestresultinfo) | Returns the device attestation information obtained.| 148 Defines the device attestation result information. 154 | authResult | number | Yes | No | Device hardware attestation result. … 155 | softwareResult | number | Yes | No | Device software attestation result. … 156 …attestation result.<br> - **softwareResultDetail[0]**: version ID attestation result.<br>- **softw… 157 …ed by the cloud.<br>If the device hardware attestation is successful, a value is returned. If the … [all …]
|
/ohos5.0/docs/en/application-dev/security/UniversalKeystoreKit/ |
H A D | huks-key-attestation-overview.md | 4 HUKS provides attestation for the public keys of asymmetric key pairs. 14 > - Key attestation is not supported if the caller is a system service with APL of **normal**. In t… 15 > - Key attestation is not supported in Emulator scenarios. 16 > - The mini-system devices do not support key attestation. 25 The key attestation process is as follows: 35 Currently, the system provides two key attestation modes. 36 …attestation: This type of attestation will not disclose the device information, and the caller doe… 37 - Non-anonymous key attestation: The device information of the caller can be viewed, and the caller… 42 The following table lists the supported key attestation specifications. 50 **Anonymous key attestation** [all …]
|
H A D | Readme-EN.md | 54 - [Key Attestation Overview and Algorithm Specifications](huks-key-attestation-overview.md) 56 - [Anonymous Key Attestation (ArkTS)](huks-key-anon-attestation-arkts.md) 57 - [Anonymous Key Attestation (C/C++)](huks-key-anon-attestation-ndk.md) 59 - [Non-anonymous Key Attestation (ArkTS)](huks-key-attestation-arkts.md) 60 - [Non-anonymous Key attestation (C/C++)](huks-key-attestation-ndk.md)
|
H A D | huks-as-user-sys.md | 33 …) | Performs non-anonymous key attestation. | [attestKeyItem](huks-key-attest… 34 …emasuser) | Performs anonymous key attestation. | [anonAttestKeyItem](huks-key-anon-a…
|
H A D | huks-overview.md | 3 … including key management (key generation/destruction, key import, key attestation, key agreement,… 57 | [Key attestation](huks-key-attestation-overview.md) | Issues a certificate for the public key in …
|
H A D | huks-key-anon-attestation-arkts.md | 15 …s-huks.md#huksanonattestkeyitem11) with the key alias and parameter set to perform key attestation. 19 * Perform anonymous key attestation. This example uses promise-based APIs. 71 /* 2. Encapsulate the parameter set for key attestation. */
|
H A D | huks-key-attestation-arkts.md | 15 …s-apis-huks.md#huksattestkeyitem9) with the key alias and parameter set to perform key attestation. 19 * Perform non-anonymous key attestation. This example uses promise-based APIs. 71 /* 2. Encapsulate the parameter set for key attestation. */
|
H A D | huks-key-anon-attestation-ndk.md | 16 …_api.md#oh_huks_anonattestkeyitem) with the key alias and parameter set to perform key attestation.
|
H A D | huks-key-attestation-ndk.md | 18 …_key_api.md#oh_huks_attestkeyitem) with the key alias and parameter set to perform key attestation.
|
/ohos5.0/docs/zh-cn/application-dev/security/UniversalKeystoreKit/ |
H A D | Readme-CN.md | 54 - [密钥证明介绍及算法规格](huks-key-attestation-overview.md) 56 - [匿名密钥证明(ArkTS)](huks-key-anon-attestation-arkts.md) 57 - [匿名密钥证明(C/C++)](huks-key-anon-attestation-ndk.md) 59 - [非匿名密钥证明(ArkTS)](huks-key-attestation-arkts.md) 60 - [非匿名密钥证明(C/C++)](huks-key-attestation-ndk.md)
|
H A D | huks-as-user-sys.md | 33 …temasuser) | 非匿名密钥证明。 | [attestKeyItem](huks-key-attestation-arkts.md) … 34 …temasuser) | 匿名密钥证明。 | [anonAttestKeyItem](huks-key-anon-attestation-arkts.md) …
|
H A D | huks-overview.md | 57 | **[密钥证明](huks-key-attestation-overview.md)** | 为存储在HUKS中的非对称密钥对中的公钥签发证书,从而证明密钥的合法性(如密钥在安全环境中生成)。 |
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-security-devicesecuritylevel.md | 202 <base64-header>.<base64-payload>.<base64-signature>.<base64-attestation> 287 #### 4. 构造attestation 331 ##### 4.4 合并生成attestation 352 2. 对该数据进行base64编码,得到`<base64-attestation>` 360 用符号"."连接上述四段数据,最终得到 `<base64-header>.<base64-payload>.<base64-signature>.<base64-attestation>`,其示例如…
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.5.3/ |
H A D | changelogs-security.md | 11 …device certificate) in the certificate chain obtained by using the key attestation API can be used… 35 Method 1: Use the following APIs for key attestation.
|
/ohos5.0/drivers/interface/huks/v1_0/ |
H A D | IHuksTypes.idl | 26 * key attestation.
|
H A D | IHuks.idl | 26 * and key attestation.
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/huks_v1_0/foo/huks/v1_0/ |
H A D | IHuksTypes.idl | 26 * key attestation.
|
H A D | IHuks.idl | 26 * and key attestation.
|
/ohos5.0/docs/en/application-dev/reference/apis-universal-keystore-kit/ |
H A D | _huks_type_api.md | 554 …H_HUKS_TAG_ATTESTATION_CHALLENGE | Key attestation tags: 501 to 600. <br>Challenge value used for … 555 …ATTESTATION_APPLICATION_ID | ID of the application, to which the key belongs, in key attestation.| 557 | OH_HUKS_TAG_ATTESTATION_ID_SEC_LEVEL_INFO | Security level used in key attestation.| 558 | OH_HUKS_TAG_ATTESTATION_ID_VERSION_INFO | Version information used in key attestation.|
|
H A D | js-apis-huks-sys.md | 437 console.info ('start attestation') 439 console.info('attestation ok!') 465 Performs anonymous key attestation. This API uses a promise to return the result. 591 console.info('Start anonymous attestation') 593 console.info('Anonymous attestation ok!') 600 …console.error("Anonymous attestation failed. Error code: "+ err.code +" Error message: "+ err.mess…
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-security-devicesecuritylevel.md | 202 <base64-header>.<base64-payload>.<base64-signature>.<base64-attestation> 288 #### 4. Construct the `attestation`. 334 ##### 4.4 Generate the `attestation`. 355 2. Encode the JSON array to Base64 format to obtain `<base64-attestation>`. 363 …to obtain `<base64-header>.<base64-payload>.<base64-signature>.<base64-attestation>`. The followin…
|
H A D | subsys-security-huks-guide.md | 7 …ties, including generating, storing, and destroying keys, and provides attestation for the keys st… 21 - Key attestation. 46 …ts core functions, such as key generation, key operations, key access control, and key attestation. 65 - Key attestation 67 …The HUKS provides attestation for hardware-backed key storage. It proves that the key has not been… 1120 …The root certificate, device CA, and device certificate are used for key attestation and preset in…
|
/ohos5.0/docs/zh-cn/release-notes/ |
H A D | OpenHarmony-v3.1-release.md | 186 …HUKS支持密钥应用基于APP UID的访问隔离<br/>I4TYF1【新增规格】HUKS支持key attestation和id attestation<br/>I…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-universal-keystore-kit/ |
H A D | js-apis-huks.md | 3003 … | HuksTagType.HUKS_TAG_TYPE_BYTES \| 501 | 表示attestation时的挑战值。<br>**原子化服… 3004 … | HuksTagType.HUKS_TAG_TYPE_BYTES \| 502 | 表示attestation时拥有该密钥的applicati… 3013 … | HuksTagType.HUKS_TAG_TYPE_BYTES \| 511 | 表示attestation时的密钥别名。<br>**原子化… 3016 …FO | HuksTagType.HUKS_TAG_TYPE_BYTES \| 514 | 表示attestation时的安全凭据。<br>**原子化… 3017 … | HuksTagType.HUKS_TAG_TYPE_BYTES \| 515 | 表示attestation时的版本号。<br>**原子化服…
|