Searched refs:DslmJsonHandle (Results 1 - 10 of 10) sorted by relevance
/base/security/device_security_level/baselib/utils/include/ |
H A D | utils_json.h | 26 typedef void *DslmJsonHandle; typedef 28 DslmJsonHandle DslmCreateJson(const char *data); 29 void DslmDestroyJson(DslmJsonHandle handle); 31 int32_t DslmGetJsonFieldInt(DslmJsonHandle handle, const char *field); 32 uint32_t DslmGetJsonFieldIntArray(DslmJsonHandle handle, const char *field, int32_t *array, int32_t arrayLen); 33 const char *DslmGetJsonFieldString(DslmJsonHandle handle, const char *field); 34 DslmJsonHandle DslmGetJsonFieldJson(DslmJsonHandle handle, const char *field); 36 DslmJsonHandle DslmGetJsonFieldJsonArray(DslmJsonHandle handl [all...] |
/base/security/device_security_level/baselib/utils/src/ |
H A D | utils_json.c | 26 DslmJsonHandle DslmCreateJson(const char *data) in DslmCreateJson() 38 void DslmDestroyJson(DslmJsonHandle handle) in DslmDestroyJson() 45 int32_t DslmGetJsonFieldInt(DslmJsonHandle handle, const char *field) in DslmGetJsonFieldInt() 73 uint32_t DslmGetJsonFieldIntArray(DslmJsonHandle handle, const char *field, int32_t *array, int32_t arrayLen) in DslmGetJsonFieldIntArray() 103 void DslmAddFieldBoolToJson(DslmJsonHandle handle, const char *field, bool value) in DslmAddFieldBoolToJson() 111 const char *DslmGetJsonFieldString(DslmJsonHandle handle, const char *field) in DslmGetJsonFieldString() 135 DslmJsonHandle DslmGetJsonFieldJson(DslmJsonHandle handle, const char *field) in DslmGetJsonFieldJson() 140 DslmJsonHandle DslmGetJsonFieldJsonArray(DslmJsonHandle handl [all...] |
/base/security/device_security_level/services/dslm/ |
H A D | dslm_msg_utils.c | 38 DslmJsonHandle head = DslmCreateJson(NULL); in GenerateSecInfoResponseJson() 43 DslmJsonHandle body = DslmCreateJson(NULL); in GenerateSecInfoResponseJson() 82 DslmJsonHandle head = DslmCreateJson(NULL); in GenerateSecInfoRequestJson() 86 DslmJsonHandle body = DslmCreateJson(NULL); in GenerateSecInfoRequestJson() 149 DslmJsonHandle handle = DslmCreateJson((const char *)msg->buff); in ParseDeviceSecInfoRequest() 205 DslmJsonHandle handle = DslmCreateJson((const char *)msg->buff); in ParseDeviceSecInfoResponse()
|
/base/security/device_security_level/oem_property/ohos/common/ |
H A D | dslm_ohos_verify.c | 70 DslmJsonHandle json = DslmCreateJson(jsonBuffer); in ParseNonceOfCertChain() 128 DslmJsonHandle jsonA = DslmCreateJson(bufferA); in FindCommonPkInfo() 132 DslmJsonHandle jsonB = DslmCreateJson(bufferB); in FindCommonPkInfo()
|
H A D | dslm_ohos_request.c | 40 DslmJsonHandle json = DslmCreateJson(NULL); in TransToJsonStr()
|
H A D | external_interface_adapter.c | 229 DslmJsonHandle json = DslmCreateJson(NULL); in GenerateFuncParamJson()
|
/base/security/device_security_level/oem_property/common/ |
H A D | dslm_credential_utils.c | 353 static bool ParsePublicKeyAttestation(DslmJsonHandle json, uint32_t attestationIndex, PublicKeyAttestation *attestation) in ParsePublicKeyAttestation() 360 DslmJsonHandle item = DslmGetJsonFieldJsonArray(json, attestationIndex); in ParsePublicKeyAttestation() 402 DslmJsonHandle json = NULL; in SplitCredentialAttestationList() 467 static int32_t GetDataFromJson(DslmJsonHandle json, const char *paramKey, char *dest, uint32_t destLen) in GetDataFromJson() 496 DslmJsonHandle json = DslmCreateJson((char *)buffer); in CredentialCbToDslmCredInfo()
|
/base/security/device_security_level/services/common/ |
H A D | dslm_msg_serialize.c | 66 DslmJsonHandle handle = DslmCreateJson((const char *)buff->buff); in ParseMessage()
|
/base/security/device_security_level/test/dslm_unit_test/ |
H A D | dslm_baselib_utils_test.cpp | 491 DslmJsonHandle handle = DslmCreateJson(str); in HWTEST_F() 551 DslmJsonHandle handle = DslmCreateJson(str); in HWTEST_F() 576 DslmJsonHandle handle = DslmCreateJson(str); in HWTEST_F() 595 DslmJsonHandle handle = DslmCreateJson(str); in HWTEST_F()
|
/base/security/device_security_level/baselib/msglib/src/standard/ |
H A D | messenger_device_status_manager.cpp | 260 DslmJsonHandle handle = DslmCreateJson(jsonString); in GetDeviceSecurityLevelByNetworkId()
|
Completed in 6 milliseconds