Home
last modified time | relevance | path

Searched refs:certificateScope (Results 1 - 3 of 3) sorted by relevance

/base/security/certificate_manager/interfaces/kits/napi/src/dialog/
H A Dcm_napi_dialog.cpp69 napi_value certificateScope = nullptr; in CreateCmCertificateScope() local
70 NAPI_CALL(env, napi_create_object(env, &certificateScope)); in CreateCmCertificateScope()
72 AddInt32Property(env, certificateScope, "CURRENT_USER", CURRENT_USER); in CreateCmCertificateScope()
74 return certificateScope; in CreateCmCertificateScope()
H A Dcm_napi_open_install_dialog.cpp163 // Parse third argument for certificateScope. in CMCheckArgvAndInitContext()
164 if (ParseUint32(asyncContext->env, argv[PARAM2], asyncContext->certificateScope) == nullptr) { in CMCheckArgvAndInitContext()
169 if (!IsCmCertificateScopeEnum(asyncContext->certificateScope)) { in CMCheckArgvAndInitContext()
170 CM_LOG_E("certificateScope invalid"); in CMCheckArgvAndInitContext()
171 ThrowError(asyncContext->env, PARAM_ERROR, "certificateScope invalid"); in CMCheckArgvAndInitContext()
190 want.SetParam(CERT_MANAGER_CERTSCOPE_TYPE, static_cast<int32_t>(asyncContext->certificateScope)); in CMGetInstallCertWant()
/base/security/certificate_manager/interfaces/kits/napi/include/dialog/
H A Dcm_napi_open_dialog.h60 uint32_t certificateScope = 0; member

Completed in 2 milliseconds