Searched refs:pkInfoListStr (Results 1 – 4 of 4) sorted by relevance
/base/security/device_security_level/oem_property/ohos/common/ |
D | dslm_ohos_verify.c | 89 const char *pkInfoListStr = GetJsonFieldString(json, "pkInfoList"); in ParseNonceOfCertChain() local 90 if (pkInfoListStr == NULL) { in ParseNonceOfCertChain() 94 nonce->pbkInfoList = (uint8_t *)MALLOC(strlen(pkInfoListStr) + 1); in ParseNonceOfCertChain() 100 ret = strcpy_s((char *)nonce->pbkInfoList, strlen(pkInfoListStr) + 1, pkInfoListStr); in ParseNonceOfCertChain() 171 char *pkInfoListStr = NULL; in VerifyNonceOfCertChain() local 188 ret = GetPkInfoListStr(false, udidStr, &pkInfoListStr); in VerifyNonceOfCertChain() 194 ret = CheckNonceOfCertChain(&nonce, challenge, pkInfoListStr); in VerifyNonceOfCertChain() 203 if (pkInfoListStr != NULL) { in VerifyNonceOfCertChain() 204 FREE(pkInfoListStr); in VerifyNonceOfCertChain()
|
D | dslm_ohos_request.c | 38 static int32_t TransToJsonStr(const char *challengeStr, const char *pkInfoListStr, char **nonceStr) in TransToJsonStr() argument 49 AddFieldStringToJson(json, DEVAUTH_JSON_KEY_PK_INFO_LIST, pkInfoListStr); in TransToJsonStr() 64 char *pkInfoListStr = NULL; in GenerateDslmCertChain() local 75 ret = GetPkInfoListStr(true, udidStr, &pkInfoListStr); in GenerateDslmCertChain() 81 ret = TransToJsonStr(challengeStr, pkInfoListStr, &nonceStr); in GenerateDslmCertChain() 94 if (pkInfoListStr != NULL) { in GenerateDslmCertChain() 95 FREE(pkInfoListStr); in GenerateDslmCertChain()
|
/base/security/device_security_level/test/dslm_unit_test/ |
D | dslm_test.cpp | 295 char *pkInfoListStr = nullptr; variable 297 int32_t result = GetPkInfoListStr(true, udidStr, &pkInfoListStr); 304 char *pkInfoListStr = nullptr; variable 311 int32_t result = GetPkInfoListStr(true, udidStr, &pkInfoListStr); 318 char *pkInfoListStr = nullptr; variable 324 int32_t result = GetPkInfoListStr(true, udidStr, &pkInfoListStr); 331 char *pkInfoListStr = nullptr; variable 337 int32_t result = GetPkInfoListStr(true, udidStr, &pkInfoListStr);
|
/base/security/device_auth/services/group_manager/src/group_operation/ |
D | group_operation.c | 964 char *pkInfoListStr = PackJsonToString(pkInfoList); in GetPkInfoList() local 966 if (pkInfoListStr == NULL) { in GetPkInfoList() 970 *returnInfoList = pkInfoListStr; in GetPkInfoList()
|