openharmony 鸿蒙 huks-ukey-general-query-overview

2026-08-25 浏览 (1)

General Query Overview and Specifications

HUKS provides a property query API to support general query operations (such as querying Ukey device and PIN information) from external key management.

NOTE

  1. resourceId of the OH_Huks_GetProperty and getProperty APIs indicates the resource ID of the provider, which is used to identify the remote resource to be queried. The value must contain 1 to 1,024 bytes. The API property ID is the SKF function name defined in the GMT 0016-2023 standard. The length must be 1 to 100 bytes.
  2. Output parameters are carried by HUKS_EXT_CRYPTO_TAG_EXTRA_DATA. The application can extract the found property data and parse the data according to the agreement with the driver application (external key management extension provider).

Supported Property Function Names (Example)

The following are examples of property function names for reference (for more detailed and authoritative function names, see GMT 0016-2023):

Function NameDescription
SKF_GetDevInfoObtains device information.
SKF_EnumDevEnumerates devices.
SKF_EnumContainerEnumerates containers.
SKF_EnumApplicationEnumerates applications.

NOTE The actual implementation must be the same as the function name specified in GMT 0016-2023. All parties (the caller and CryptoExtension implementation) must agree on the function name set and the parameter/return format.

你可能感兴趣的鸿蒙文章

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