Home
last modified time | relevance | path

Searched refs:CertInfo (Results 1 – 19 of 19) sorted by relevance

/base/security/certificate_manager/test/unittest/src/
Dcm_get_certinfo_test.cpp25 struct CertInfo CertInfo; member
142 char *uri = g_listCertInfoexpectResult[0].CertInfo.uri;
144 struct CertInfo certInfo;
145 unsigned int len = sizeof(struct CertInfo);
153 …EXPECT_EQ(CompareCertInfo(&certInfo, &(g_listCertInfoexpectResult[0].CertInfo)), true) <<DumpCertI…
168 char *uri = g_listCertInfoexpectResult[length - 1].CertInfo.uri;
171 struct CertInfo firstCertInfo, secondCertInfo;
172 unsigned int len = sizeof(struct CertInfo);
201 unsigned int len = sizeof(struct CertInfo);;
202 struct CertInfo certInfo;
[all …]
Dcm_test_common.cpp53 int32_t InitCertInfo(struct CertInfo *certInfo) in InitCertInfo()
86 int32_t InitUserCertInfo(struct CertInfo **cInfo) in InitUserCertInfo()
88 *cInfo = static_cast<struct CertInfo *>(CmMalloc(sizeof(struct CertInfo))); in InitUserCertInfo()
92 (void)memset_s(*cInfo, sizeof(struct CertInfo), 0, sizeof(struct CertInfo)); in InitUserCertInfo()
129 void FreeCertInfo(struct CertInfo *cInfo) in FreeCertInfo()
195 bool CompareCertInfo(const struct CertInfo *firstCert, const struct CertInfo *secondCert) in CompareCertInfo()
220 std::string DumpCertInfo(const struct CertInfo *certInfo) in DumpCertInfo()
Dcm_set_status_test.cpp102 struct CertInfo certDetailInfo;
103 (void)memset_s(&certDetailInfo, sizeof(struct CertInfo), 0, sizeof(struct CertInfo));
Dcm_user_cert_test.cpp364 struct CertInfo certInfo;
1050 struct CertInfo *certInfo001 = nullptr;
1095 struct CertInfo *certInfo002 = nullptr;
1120 struct CertInfo *certInfo003 = nullptr;
1139 struct CertInfo *certInfo004 = nullptr;
1182 struct CertInfo *certInfo005 = nullptr;
1252 struct CertInfo *certInfo006 = nullptr;
1382 struct CertInfo *certInfo007 = nullptr;
/base/security/certificate_manager/test/unittest/include/
Dcm_test_common.h45 bool CompareCertInfo(const struct CertInfo *firstCert, const struct CertInfo *secondCert);
56 std::string DumpCertInfo(const struct CertInfo* certInfo);
63 int32_t InitUserCertInfo(struct CertInfo **cInfo);
65 int32_t InitCertInfo(struct CertInfo *certInfo);
69 void FreeCertInfo(struct CertInfo *cInfo);
/base/update/updater/services/include/package/
Dcert_verify.h25 struct CertInfo { struct
62 CertInfo rootInfo_ {};
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/include/
Dcm_ipc_client.h30 struct CertInfo *certificateInfo);
65 struct CertInfo *certificateInfo);
Dcm_ipc_client_serialization.h37 struct CertInfo *cInfo);
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_get_system_cert_info.cpp43 struct CertInfo *certificate = nullptr;
172 context->certificate = static_cast<struct CertInfo *>(CmMalloc(sizeof(struct CertInfo))); in GetCertInfoExecute()
178 (void)memset_s(context->certificate, sizeof(struct CertInfo), 0, sizeof(struct CertInfo)); in GetCertInfoExecute()
Dcm_napi_common.cpp340 napi_value GenerateCertInfo(napi_env env, const struct CertInfo *certInfo) in GenerateCertInfo()
561 void FreeCertInfo(CertInfo *&certInfo) in FreeCertInfo()
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
Dcert_manager_api.h28 struct CertInfo *certificateInfo);
63 struct CertInfo *certificateInfo);
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_verify.c794 static int CmpCert(const mbedtls_x509_crt *certA, const CertInfo *binSignCert) in CmpCert()
836 int LoadCertAndCmpDest(const unsigned char *certBase64, const CertInfo *binSignCert) in LoadCertAndCmpDest()
860 static int CheckReleaseAppSign(const CertInfo *binSignCert, const ProfileProf *pf) in CheckReleaseAppSign()
881 static int CheckDebugAppSign(CertInfo *binSignCert, const ProfileProf *pf) in CheckDebugAppSign()
903 static int CheckAppSignCertWithProfile(int appCertType, CertInfo *binSignCert, ProfileProf *pf) in CheckAppSignCertWithProfile()
923 static int CertInfoInit(CertInfo *certInfo) in CertInfoInit()
925 int ret = memset_s(certInfo, sizeof(CertInfo), 0, sizeof(CertInfo)); in CertInfoInit()
932 void FreeCertInfo(CertInfo *certInfo) in FreeCertInfo()
954 static int GetCertInfo(const mbedtls_x509_crt *ctr, CertInfo **binSignCert) in GetCertInfo()
956 CertInfo *certInfo = APPV_MALLOC(sizeof(CertInfo)); in GetCertInfo()
[all …]
/base/security/appverify/interfaces/innerkits/appverify_lite/include/
Dapp_verify.h119 } CertInfo; typedef
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client_serialization.c132 static int32_t GetInfoFromX509Cert(X509 *x509cert, struct CertInfo *cInfo) in GetInfoFromX509Cert()
172 static int32_t GetInfoFromCertData(struct CertInfo *cInfo) in GetInfoFromCertData()
192 struct CertInfo *cInfo) in CmCertificateInfoUnpackFromService()
Dcm_ipc_client.c113 const uint32_t store, struct CertInfo *certificateInfo) in GetCertificateInfo()
155 struct CertInfo *certificateInfo) in CmClientGetCertInfo()
867 const uint32_t store, struct CertInfo *userCertInfo) in GetUserCertInfo()
909 struct CertInfo *certificateInfo) in CmClientGetUserCertInfo()
/base/security/certificate_manager/interfaces/kits/napi/include/
Dcm_napi_common.h81 napi_value GenerateCertInfo(napi_env env, const struct CertInfo *certInfo);
149 void FreeCertInfo(CertInfo *&certInfo);
/base/security/certificate_manager/interfaces/kits/js/
D@ohos.security.certManager.d.ts327 export interface CertInfo { interface
369 certInfo?: CertInfo;
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/src/
Dcert_manager_api.c42 struct CertInfo *certificateInfo) in CmGetCertInfo()
263 …t CmGetUserCertInfo(const struct CmBlob *certUri, uint32_t store, struct CertInfo *certificateInfo) in CmGetUserCertInfo()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/include/
Dcm_type.h240 struct CertInfo { struct