openharmony 鸿蒙 huks-provider-management-overview

2026-08-25 浏览 (1)

Provider Management Overview and Specifications

HUKS provides APIs for registering and unregistering external key management extension (called Ukey Extension). When detecting that any Ukey device exists, the third-party driver HAP calls the Provider registration API to register the external key management capability provided by the driver HAP application with the system. When detecting that all Ukey devices are removed, the third-party driver HAP calls the Provider deregistration API to deregister the external key management capability provided by the driver HAP application from the system.

NOTE

  1. It is recommended that a Provider name contain the vendor information and be globally unique.
  2. A Provider name can contain a maximum of 128 bytes.
  3. The registration and deregistration of a Provider are under permission control. You need to apply for the ohos.permission.CRYPTO_EXTENSION_REGISTER permission.
  4. A Provider can be associated with multiple Abilities. Generally, a Provider is the name of a vendor driver, and an Ability is the name of the extended capability customized by the vendor for each service. The vendor can also determine the names of the Provider and Ability.

Supported function specifications

FunctionDescriptionAPI Version
Provider registrationRegisters an external key management extension provider to the system.22+
Provider unregistrationUnregisters an external key management extension provider from the system.22+

你可能感兴趣的鸿蒙文章

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/FNtQM8cj