Searched refs:certificateInfo (Results 1 – 7 of 7) sorted by relevance
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/src/ |
D | cert_manager_api.c | 42 struct CertInfo *certificateInfo) in CmGetCertInfo() argument 45 if ((certUri == NULL) || (certificateInfo == NULL)) { in CmGetCertInfo() 50 if ((certificateInfo->certInfo.data == NULL) || (certificateInfo->certInfo.size == 0) || in CmGetCertInfo() 56 int32_t ret = CmClientGetCertInfo(certUri, store, certificateInfo); in CmGetCertInfo() 263 …t CmGetUserCertInfo(const struct CmBlob *certUri, uint32_t store, struct CertInfo *certificateInfo) in CmGetUserCertInfo() argument 266 if ((certUri == NULL) || (certificateInfo == NULL)) { in CmGetUserCertInfo() 270 int32_t ret = CmClientGetUserCertInfo(certUri, store, certificateInfo); in CmGetUserCertInfo()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client.c | 112 const uint32_t store, struct CertInfo *certificateInfo) in GetCertificateInfo() argument 142 ret = CmCertificateInfoUnpackFromService(&outBlob, certUri, certificateInfo); in GetCertificateInfo() 154 struct CertInfo *certificateInfo) in CmClientGetCertInfo() argument 156 return GetCertificateInfo(CM_MSG_GET_CERTIFICATE_INFO, certUri, store, certificateInfo); in CmClientGetCertInfo() 451 static int32_t CmGetAppCertFromBuffer(struct Credential *certificateInfo, in CmGetAppCertFromBuffer() argument 460 if (memcpy_s(certificateInfo->type, MAX_LEN_SUBJECT_NAME, blob.data, blob.size) != EOK) { in CmGetAppCertFromBuffer() 470 if (memcpy_s(certificateInfo->keyUri, MAX_LEN_URI, blob.data, blob.size) != EOK) { in CmGetAppCertFromBuffer() 480 if (memcpy_s(certificateInfo->alias, MAX_LEN_CERT_ALIAS, blob.data, blob.size) != EOK) { in CmGetAppCertFromBuffer() 488 …_t CmAppCertInfoUnpackFromService(const struct CmBlob *outData, struct Credential *certificateInfo) in CmAppCertInfoUnpackFromService() argument 493 if ((outData == NULL) || (certificateInfo == NULL) || (outData->data == NULL) || in CmAppCertInfoUnpackFromService() [all …]
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/os_dependency/idl/cm_ipc/ |
D | cm_ipc_service_serialization.c | 189 uint32_t status, const struct CmBlob *certUri, struct CmBlob *certificateInfo) in CmServiceGetCertInfoPack() argument 198 if (certificateInfo->size < buffSize) { in CmServiceGetCertInfoPack() 202 certificateInfo->size = buffSize; in CmServiceGetCertInfoPack() 205 int32_t ret = CopyBlobToBuffer(certificateData, certificateInfo, &offset); /* certData */ in CmServiceGetCertInfoPack() 211 ret = CopyUint32ToBuffer(status, certificateInfo, &offset); /* status */ in CmServiceGetCertInfoPack() 232 ret = CopyBlobToBuffer(&certAlias, certificateInfo, &offset); /* certAlias */ in CmServiceGetCertInfoPack()
|
D | cm_ipc_service.c | 478 const struct CmBlob *certificateInfo, uint32_t *offset) in CopyCertificateInfoToBuffer() argument 491 int32_t ret = CopyUint32ToBuffer(appCert->certCount, certificateInfo, offset); in CopyCertificateInfoToBuffer() 497 ret = CopyUint32ToBuffer(appCert->keyCount, certificateInfo, offset); in CopyCertificateInfoToBuffer() 504 ret = CopyBlobToBuffer(&appCertBlob, certificateInfo, offset); in CopyCertificateInfoToBuffer() 512 static int32_t CopyCertSize(const struct CmBlob *certBlob, const struct CmBlob *certificateInfo, in CopyCertSize() argument 517 int32_t ret = CopyUint32ToBuffer(certCount, certificateInfo, offset); in CopyCertSize() 529 static int32_t CmAppCertificateInfoPack(struct CmBlob *certificateInfo, in CmAppCertificateInfoPack() argument 536 certificateInfo->data = (uint8_t *)CmMalloc(buffSize); in CmAppCertificateInfoPack() 537 if (certificateInfo->data == NULL) { in CmAppCertificateInfoPack() 540 certificateInfo->size = buffSize; in CmAppCertificateInfoPack() [all …]
|
D | cm_ipc_service_serialization.h | 35 uint32_t status, const struct CmBlob *certUri, struct CmBlob *certificateInfo);
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/include/ |
D | cm_ipc_client.h | 30 struct CertInfo *certificateInfo); 65 struct CertInfo *certificateInfo);
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/ |
D | cert_manager_api.h | 28 struct CertInfo *certificateInfo); 63 struct CertInfo *certificateInfo);
|