openharmony 鸿蒙 huks-ukey-signing-signature-verification-overview

2026-08-25 浏览 (1)

Signing and Signature Verification Overview and Algorithm Specifications

After Ukey PIN authentication, an application can use resourceId to perform the signing operation on the corresponding key. This capability is implemented using the three-segment API provided by HUKS. The application only needs to specify the algorithm parameters (including the algorithm type, purpose, padding, and digest).

NOTE

  1. HUKS_TAG_KEY_CLASS is used to specify the key managed by the external key management extension.
  2. During the signing phase in the three-segment operations, keyAlias must be set to the value of resourceId.
  3. The finish phase in the three-segment operations releases resources. If an exception occurs during the operation, abort is used to release the resources.

Specifications

The specifications are related to the implementation of the external hardware key management extension, which vary according to vendors.

你可能感兴趣的鸿蒙文章

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