已合并
需求新增js接口 #28648
lcy_lovebug创建于 2025年11月21日
需求新增js接口 #28648
已合并
共 1 个文件变更+17-1
| @@ -4679,7 +4679,15 @@ declare namespace huks { | |||
| 4679 | * | 4679 | * |
| 4680 | * 12 | 4680 | * 12 |
| 4681 | */ | 4681 | */ |
| 4682 | - HUKS_UNWRAP_SUITE_ECDH_AES_256_GCM_NOPADDING = 2 | 4682 | + HUKS_UNWRAP_SUITE_ECDH_AES_256_GCM_NOPADDING = 2, |
| 4683 | + /** | ||
| 4684 | + * Use SM2 and then use SM4-ECB-NoPadding to encrypt the key. | ||
| 4685 | + * | ||
| 4686 | + * SystemCapability.Security.Huks.Core | ||
| 4687 | + * | ||
| 4688 | + * 23 | ||
| 4689 | + */ | ||
| 4690 | + HUKS_UNWRAP_SUITE_SM2_SM4_ECB_NOPADDING = 5, | ||
| 4683 | } | 4691 | } |
| 4684 | 4692 | ||
| 4685 | /** | 4693 | /** |
| @@ -6351,6 +6359,14 @@ declare namespace huks { | |||
| 6351 | * 22 | 6359 | * 22 |
| 6352 | */ | 6360 | */ |
| 6353 | HUKS_TAG_KEY_CLASS = HuksTagType.HUKS_TAG_TYPE_UINT | 522, | 6361 | HUKS_TAG_KEY_CLASS = HuksTagType.HUKS_TAG_TYPE_UINT | 522, |
| 6362 | + /** | ||
| 6363 | + * The tag indicates a group of shared keys among applications with the same developer ID. | ||
| 6364 | + * | ||
| 6365 | + * SystemCapability.Security.Huks.Extension | ||
| 6366 | + * | ||
| 6367 | + * 23 | ||
| 6368 | + */ | ||
| 6369 | + HUKS_TAG_KEY_ACCESS_GROUP = HuksTagType.HUKS_TAG_TYPE_BYTES | 523, | ||
| 6354 | 6370 | ||
| 6355 | /* | 6371 | /* |
| 6356 | * Other reserved TAG: 601 - 1000 | 6372 | * Other reserved TAG: 601 - 1000 |