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
| Name | Description |
|---|---|
| uint32_t isExist | Whether 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 certNum | Number of certificates contained in the credential. |
| uint32_t keyNum | Number of keys contained in the credential. |
| OH_CM_Blob credData | Binary data of a credential. The value contains up to 20480 bytes. |
| OH_CM_CertificatePurpose certPurpose | Purpose 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 鸿蒙 capi-certmanagertype-oh-cm-blob