harmony 鸿蒙Certificate Overview

  • 2022-12-05
  • 浏览 (578)

Certificate Overview

The Certificate module provides APIs for X.509 certificate operations. You can use the APIs to implement quick development.

Basic Concepts

A digital certificate provides a method of digitally verifying the identity of a user, device, or service. X.509 is an international standard format public key certificates that securely associate cryptographic key pairs with identifies such as websites, individuals, or organizations. The crypto framework provides the following capabilities:

  • X.509 certificate capabilities: parsing and serializing X.509 certificates, verifying X.509 certificate signatures, and querying certificate information.
  • X.509 certificate revocation list (CRL) capabilities: parsing, serializing, and querying the X.509 CRL.
  • Certificate chain validator capabilities: verifying the certificate chain (excluding the certificate validity period) and querying certificate chain algorithms.

Constraints

  • Multi-thread concurrent operations are not supported.

Certificate Specifications

  • Certificate chain verification

The certificate chain validator does not verify the certificate validity period because the system time on the device is untrusted. To check the validity period of a certificate, use checkValidityWithDate() of the X509Cert class.

  • Certificate formats

Currently, only the certificates in DER and PEM formats are supported.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Security

harmony 鸿蒙Applying for Permissions

harmony 鸿蒙Access Control (Permission) Overview

harmony 鸿蒙HarmonyAppProvision Configuration File

harmony 鸿蒙Certificate Development

harmony 鸿蒙Crypto Framework Development

harmony 鸿蒙Crypto Framework Overview

harmony 鸿蒙DLP Development

harmony 鸿蒙DLP Overview

harmony 鸿蒙hapsigner Guide

0  赞