/base/security/certificate_manager/test/unittest/multi_thread_test/src/ |
D | cm_remove_grant_multi_thread_test.cpp | 71 uint8_t uriData[] = "oh:t=ak;o=TestRemoveGrant;u=0;a=0"; in TestRemoveGrantPreAction() local 72 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestRemoveGrantPreAction() 84 uint8_t uriData[] = "oh:t=ak;o=TestRemoveGrant;u=0;a=0"; in TestRemoveGrant() local 85 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestRemoveGrant() 95 uint8_t uriData[] = "oh:t=ak;o=TestRemoveGrant;u=0;a=0"; in TestRemoveGrantAfterAction() local 96 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestRemoveGrantAfterAction() 124 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 125 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ 139 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 140 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ [all …]
|
D | cm_grant_multi_thread_test.cpp | 74 uint8_t uriData[] = "oh:t=ak;o=TestNormalGrant;u=0;a=0"; in TestGrantAppCertificate() local 75 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestGrantAppCertificate() 93 uint8_t uriData[] = "oh:t=ak;o=TestNormalGrant;u=0;a=0"; in TestGrantAppCertificateAfterAction() local 94 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestGrantAppCertificateAfterAction() 126 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 127 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ 146 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 147 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ 166 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 167 struct CmBlob keyUri = { strlen((char *)uriData), uriData }; /* keyUri data not end of '\0' */ [all …]
|
D | cm_get_auth_list_multi_thread_test.cpp | 159 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 160 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ 174 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 175 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ 189 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 190 struct CmBlob keyUri = { strlen((char *)uriData), uriData }; /* keyUri data not end of '\0' */ 205 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0"; variable 206 struct CmBlob keyUri = { sizeof(uriData), uriData }; 221 uint8_t uriData[] = "oh:t=ak;o=keyA;a=0"; variable 222 struct CmBlob keyUri = { sizeof(uriData), uriData }; [all …]
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_remove_grant_test.cpp | 66 uint8_t uriData[] = "oh:t=ak;o=TestRemoveGrant;u=0;a=0"; in TestRemoveGrant() local 67 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestRemoveGrant() 106 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 107 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ 121 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 122 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ 136 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 137 struct CmBlob keyUri = { strlen((char *)uriData), uriData }; /* keyUri data not end of '\0' */ 152 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0"; variable 153 struct CmBlob keyUri = { sizeof(uriData), uriData }; [all …]
|
D | cm_is_authed_test.cpp | 58 uint8_t uriData[] = "oh:t=ak;o=TestNormalGrant;u=0;a=0"; in TearDown() local 59 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TearDown() 68 uint8_t uriData[] = "oh:t=ak;o=TestNormalGrant;u=0;a=0"; in TestGrantApp() local 69 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestGrantApp() 96 uint8_t uriData[] = variable 98 struct CmBlob authUri = { 0, uriData }; /* authUri size is 0 */ 111 uint8_t uriData[] = variable 113 struct CmBlob authUri = { sizeof(uriData), nullptr }; /* authUri data is null */ 126 uint8_t uriData[] = variable 128 struct CmBlob authUri = { strlen((char *)uriData), uriData }; /* authUri data not end of '\0' */ [all …]
|
D | cm_grant_test.cpp | 66 uint8_t uriData[] = "oh:t=ak;o=TestNormalGrant;u=0;a=0"; in TestNormalGrant() local 67 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestNormalGrant() 112 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 113 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ 132 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 133 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ 152 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 153 struct CmBlob keyUri = { strlen((char *)uriData), uriData }; /* keyUri data not end of '\0' */ 173 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0"; variable 174 struct CmBlob keyUri = { sizeof(uriData), uriData }; [all …]
|
D | cm_get_auth_list_test.cpp | 174 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 175 struct CmBlob keyUri = { 0, uriData }; /* keyUri size is 0 */ 189 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 190 struct CmBlob keyUri = { sizeof(uriData), nullptr }; /* keyUri data is null */ 204 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 205 struct CmBlob keyUri = { strlen((char *)uriData), uriData }; /* keyUri data not end of '\0' */ 220 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0"; variable 221 struct CmBlob keyUri = { sizeof(uriData), uriData }; 236 uint8_t uriData[] = "oh:t=ak;o=keyA;a=0"; variable 237 struct CmBlob keyUri = { sizeof(uriData), uriData }; [all …]
|
D | cm_init_test.cpp | 101 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 102 struct CmBlob authUri = { 0, uriData }; /* authUri size is 0 */ 119 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 120 struct CmBlob authUri = { sizeof(uriData), nullptr }; /* authUri data is null */ 137 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0;a=0"; variable 138 struct CmBlob authUri = { strlen((char *)uriData), uriData }; /* authUri data not end of '\0' */ 155 uint8_t uriData[] = "oh:t=ak;o=keyA;u=0"; /* authUri data has no app */ variable 156 struct CmBlob authUri = { sizeof(uriData), uriData }; 173 uint8_t uriData[] = "oh:t=ak;o=keyA;a=0"; /* authUri data has no user */ variable 174 struct CmBlob authUri = { sizeof(uriData), uriData }; [all …]
|
D | cm_abort_test.cpp | 120 uint8_t uriData[] = "oh:t=ak;o=CmAbortTest005;u=0;a=0"; variable 121 struct CmBlob keyUri = { sizeof(uriData), uriData };
|
D | cm_test_common.cpp | 300 uint8_t uriData[MAX_LEN_URI] = {0}; in TestGenerateAppCert() local 301 struct CmBlob keyUri = { sizeof(uriData), uriData }; in TestGenerateAppCert()
|
/base/security/certificate_manager/test/unittest/common_permission_test/ |
D | cm_common_permission_test.cpp | 83 uint8_t uriData[] = "CmCommonPermissionTest002"; variable 84 struct CmBlob uri = { sizeof(uriData), uriData }; 99 uint8_t uriData[] = "CmCommonPermissionTest003"; variable 100 struct CmBlob uri = { sizeof(uriData), uriData }; 141 uint8_t uriData[] = "Common006"; variable 142 struct CmBlob uri = { sizeof(uriData), uriData }; 155 uint8_t uriData[] = "Common007"; variable 156 struct CmBlob uri = { sizeof(uriData), uriData }; 217 uint8_t uriData[] = "Common011"; variable 218 struct CmBlob uri = { sizeof(uriData), uriData }; [all …]
|
/base/security/certificate_manager/test/unittest/inner_permission_test/ |
D | cm_inner_permission_test.cpp | 104 uint8_t uriData[] = "b7a5b843.0"; variable 105 struct CmBlob uri = { sizeof(uriData), uriData }; 120 uint8_t uriData[] = "CmInnerPermissionTest003"; variable 121 struct CmBlob uri = { sizeof(uriData), uriData }; 148 uint8_t uriData[] = "inner005"; variable 149 struct CmBlob uri = { sizeof(uriData), uriData }; 210 uint8_t uriData[] = "oh:t=ak;o=inner009;u=0;a=0"; variable 211 struct CmBlob uri = { sizeof(uriData), uriData }; 250 uint8_t uriData[] = "inner011"; variable 251 struct CmBlob uri = { sizeof(uriData), uriData }; [all …]
|
/base/web/webview/test/unittest/ohos_adapter/cert_mgr_adapter_test/ |
D | cert_mgr_adapter_test.cpp | 344 uint8_t uriData[] = "oh:t=ak;o=inner020;u=0;a=0"; variable 348 int32_t result = adapter.GetAppCert(uriData, certData, &len); 371 uint8_t uriData[] = "oh:t=ak;o=inner020;u=0;a=0"; variable 374 result = adapter.Sign(uriData, messageData, sizeof(messageData), 377 result = adapter.Sign(uriData, messageData, sizeof(messageData), nullptr, 0); 379 result = adapter.Sign(uriData, nullptr, 0, signData, sizeof(signData));
|
/base/web/webview/ohos_adapter/interfaces/ |
D | cert_mgr_adapter.h | 40 virtual int32_t GetAppCert(uint8_t* uriData, uint8_t* certData, uint32_t* len) = 0;
|
/base/web/webview/ohos_adapter/cert_mgr_adapter/include/ |
D | cert_mgr_adapter_impl.h | 40 int32_t GetAppCert(uint8_t* uriData, uint8_t* certData, uint32_t* len) override;
|
/base/web/webview/ohos_adapter/cert_mgr_adapter/src/ |
D | cert_mgr_adapter_impl.cpp | 263 int32_t CertManagerAdapterImpl::GetAppCert(uint8_t* uriData, uint8_t* certData, uint32_t* len) in GetAppCert() argument 274 struct CmBlob uri = { strlen((char*)uriData) + 1, uriData }; in GetAppCert()
|