openharmony 鸿蒙 huks-group-key-overview

2026-08-25 浏览 (1)

Group Key Overview

From API version 23, HUKS supports the group key function, which is used to share keys across HAP applications developed by the same developer.

When a group ID is specified for multiple HAP applications in the configuration, the applications can share the same group of key resources. This implements secure reuse of keys in the application ecosystem of a developer, eliminating the need to repeatedly generate or manually transfer keys and simplifying the key management process in cross-application encryption scenarios.

NOTE

  • The group key function is supported only on standard devices
  • A group key is strictly limited to the HAP applications in the same group of the same developer. The group containing different developers or different groups that the same developer belongs to cannot access each other's group key, ensuring key isolation and security.

Specifications

Local Key Operation SupportedAPI VersionDescription
Key generation23+A group key can be generated.
Key import23+A group key can be imported.
Encryption and decryption23+A group key can be used for encryption and decryption.
Signing and signature verification23+A group key can be used for signing and signature verification.
Key agreement23+A group key can be used for key agreement.
Key derivation23+A group key can be used for key derivation.
Access control23+A group key can be used for secondary access control.
HMAC23+A group key can be used for HMAC.
Key deletion23+A group key can be deleted.
Key attestation23+The validity of a group key can be attested.
Checking whether a key exists23+You can check whether a group key exists.
Key property obtaining23+You can query the properties of a group key. You can obtain DeveloperID and GroupID.
Key export23+A group key can be exported.
Querying key aliases23+The alias set of a group key can be queried.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 huks-key-import-overview

openharmony 鸿蒙 huks-concepts

openharmony 鸿蒙 huks-signing-signature-verification-arkts

openharmony 鸿蒙 huks-hmac-arkts

openharmony 鸿蒙 huks-key-agreement-overview

openharmony 鸿蒙 huks-as-user-sys

openharmony 鸿蒙 huks-overview

openharmony 鸿蒙 huks-delete-key-ndk

openharmony 鸿蒙 huks-query-authentication-status-arkts

openharmony 鸿蒙 huks-check-key-ndk

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/5sr5DPYu