harmony 鸿蒙Introduction to Device Certificate Kit

  • 2025-06-12
  • 浏览 (3)

Introduction to Device Certificate Kit

Device Certificate Kit provides the certificate framework and certificate management capabilities for developers.

Certificate Framework

The certificate framework provides APIs for parsing and validating digital certificates.

You can use the APIs to parse and validate a certificate, certificate extensions, and a certificate revocation list (CRL), and validate a certificate chain.

The certificate framework shields the differences between third-party algorithm libraries to make development a more enjoyable experience.

Scenarios

The application parses the received certificate or the certificate entered by the user, obtains the basic fields or extension fields of the certificate for display or verification, and uses the CA certificate chain and CRL to verify the certificate validity.

Working Principles

The system provides the certificate framework, which shields the differences between third-party algorithm libraries. You only need to use the APIs provided by the certificate framework to implement operations on certificates.

Related Kits

During the use of certificate framework functionalities, public keys need to be generated and obtained, which depends on Crypto Architecture Kit.

Certificate Management

The certManager module provides system-level certificate management capabilities to ensure certificate security during transmission and storage and prevent unauthorized certificate access and use.

You can use the APIs provided by this module to implement secure management and use of certificates throughout their lifecycle (installation, storage, use, and destruction). You can also install, obtain, use, and uninstall private certificates.

Scenarios

  • Install a private certificate.
  • Obtain a private certificate.
  • Use a private certificate to generate a signature and verify a signature.
  • Uninstall a private certificate.

Related Kits

During the use of the certificate management functionalities, certificates need to be installed and used, which depends on Universal Keystore Kit.

Constraints

Device Certificate Kit does not provide the capabilities of generating or issuing certificates or CRLs. Such capabilities are implemented by a certificate authority (CA) rather than a single application.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Device Certificate Kit

harmony 鸿蒙Certificate Management Development

harmony 鸿蒙Certificate Management Overview

harmony 鸿蒙Certificate Management Dialog Box Development

harmony 鸿蒙Certificate Framework Overview

harmony 鸿蒙Certificate and CRL Collection Development

harmony 鸿蒙Certificate Development

harmony 鸿蒙Certificate Extension Development

harmony 鸿蒙CRL Development

harmony 鸿蒙Creating a TrustAnchor Object Array from a .p12 File

0  赞