Searched refs:napiKey (Results 1 – 4 of 4) sorted by relevance
| /base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
| D | napi_key.cpp | 42 NapiKey *napiKey = nullptr; in JsGetAlgorithm() local 45 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey)); in JsGetAlgorithm() 46 if (status != napi_ok || napiKey == nullptr) { in JsGetAlgorithm() 51 HcfKey *key = napiKey->GetHcfKey(); in JsGetAlgorithm() 67 NapiKey *napiKey = nullptr; in JsGetFormat() local 70 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey)); in JsGetFormat() 71 if (status != napi_ok || napiKey == nullptr) { in JsGetFormat() 76 HcfKey *key = napiKey->GetHcfKey(); in JsGetFormat() 92 NapiKey *napiKey = nullptr; in JsGetEncoded() local 95 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey)); in JsGetEncoded() [all …]
|
| D | napi_cipher.cpp | 131 NapiKey *napiKey = nullptr; in BuildContextForInit() local 157 status = napi_unwrap(env, argv[index++], reinterpret_cast<void **>(&napiKey)); in BuildContextForInit() 158 if (status != napi_ok || napiKey == nullptr) { in BuildContextForInit() 162 context->key = napiKey->GetHcfKey(); in BuildContextForInit()
|
| /base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
| D | napi_key.cpp | 44 NapiKey *napiKey = nullptr; in JsGetAlgorithm() local 47 NAPI_CALL(env, napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey))); in JsGetAlgorithm() 48 HcfKey *key = napiKey->GetHcfKey(); in JsGetAlgorithm() 59 NapiKey *napiKey = nullptr; in JsGetFormat() local 62 NAPI_CALL(env, napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey))); in JsGetFormat() 63 HcfKey *key = napiKey->GetHcfKey(); in JsGetFormat() 74 NapiKey *napiKey = nullptr; in JsGetEncoded() local 77 NAPI_CALL(env, napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiKey))); in JsGetEncoded() 78 HcfKey *key = napiKey->GetHcfKey(); in JsGetEncoded()
|
| /base/account/os_account/interfaces/kits/napi/account_iam/src/ |
| D | napi_account_iam_common.cpp | 324 napi_value napiKey = nullptr; in ParseSetPropRequest() local 325 napi_get_named_property(env, object, "key", &napiKey); in ParseSetPropRequest() 327 napi_get_value_int32(env, napiKey, &key); in ParseSetPropRequest()
|