openharmony 鸿蒙 capi-certmanagertype-oh-cm-credential

2026-08-25 浏览 (1)

OH_CM_Credential

typedef struct {...} OH_CM_Credential

Overview

Defines a struct for the certificate credential details.

Since: 22

Related module: CertManagerType

Header file: cm_native_type.h

Summary

Member Variables

NameDescription
uint32_t isExistWhether a certificate data exists.
char type[OH_CM_MAX_LEN_TYPE_NAME]Type of a credential. The value contains up to 8 bytes, including the terminator '\0'.
char alias[OH_CM_MAX_LEN_CERT_ALIAS]Alias of a credential. The value contains up to 128 bytes, including the terminator '\0'.
char keyUri[OH_CM_MAX_LEN_URI]URI of a credential. The value contains up to 256 bytes, including the terminator '\0'.
uint32_t certNumNumber of certificates contained in the credential.
uint32_t keyNumNumber of keys contained in the credential.
OH_CM_Blob credDataBinary data of a credential. The value contains up to 20480 bytes.
OH_CM_CertificatePurpose certPurposePurpose of a certificate credential.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-cm-native-api-h

openharmony 鸿蒙 capi-certmanagertype

openharmony 鸿蒙 js-apis-certManagerDialog

openharmony 鸿蒙 errorcode-certManager

openharmony 鸿蒙 capi-certmanagertype-oh-cm-credentialdetaillist

openharmony 鸿蒙 errorcode-cert

openharmony 鸿蒙 Readme-EN

openharmony 鸿蒙 capi-certmanagertype-oh-cm-blob

openharmony 鸿蒙 js-apis-certManager

openharmony 鸿蒙 js-apis-cert

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/M36FvQTI