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
- It is recommended that a Provider name contain the vendor information and be globally unique.
- A Provider name can contain a maximum of 128 bytes.
- The registration and deregistration of a Provider are under permission control. You need to apply for the ohos.permission.CRYPTO_EXTENSION_REGISTER permission.
- 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
| Function | Description | API Version |
|---|---|---|
| Provider registration | Registers an external key management extension provider to the system. | 22+ |
| Provider unregistration | Unregisters an external key management extension provider from the system. | 22+ |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 huks-key-import-overview
openharmony 鸿蒙 huks-signing-signature-verification-arkts
openharmony 鸿蒙 huks-hmac-arkts
openharmony 鸿蒙 huks-key-agreement-overview
openharmony 鸿蒙 huks-as-user-sys
openharmony 鸿蒙 huks-delete-key-ndk