openharmony 鸿蒙 huks-resource-management-overview

2026-08-25 浏览 (1)

Resource Management Overview and Specifications

It is agreed that resourceId is used to uniquely identify a resource in external key management extensions (such as Ukey). Currently, resourceId can be returned through certification query. Each certificate chain corresponds to one resourceId. After obtaining resourceId, the application need to open the resource before performing subsequent key operations. After the operations are complete, the application need to close the resource.

NOTE

  1. Before operating a key, the resource must be opened. To perform high-permission operations such as private key signing, you must complete the PIN verification. Otherwise, the resource status is abnormal.
  2. After user operations are complete, the application must close the resource to avoid resource leakage.

你可能感兴趣的鸿蒙文章

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/3lA3JIPz