Home
last modified time | relevance | path

Searched refs:CfCtx (Results 1 – 4 of 4) sorted by relevance

/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_cert_chain_validator.cpp32 struct CfCtx { struct
55 static void FreeCryptoFwkCtx(napi_env env, CfCtx *context) in FreeCryptoFwkCtx()
79 static void ReturnCallbackResult(napi_env env, CfCtx *context, napi_value result) in ReturnCallbackResult()
96 static void ReturnPromiseResult(napi_env env, CfCtx *context, napi_value result) in ReturnPromiseResult()
106 static void ReturnResult(napi_env env, CfCtx *context, napi_value result) in ReturnResult()
117 CfCtx *context = static_cast<CfCtx *>(data); in ValidateExecute()
128 CfCtx *context = static_cast<CfCtx *>(data); in ValidateComplete()
142 CfCtx *context = static_cast<CfCtx *>(HcfMalloc(sizeof(CfCtx), 0)); in Validate()
Dnapi_x509_crl_entry.cpp32 struct CfCtx { struct
47 static void FreeCryptoFwkCtx(napi_env env, CfCtx *context) in FreeCryptoFwkCtx()
72 static void ReturnCallbackResult(napi_env env, CfCtx *context, napi_value result) in ReturnCallbackResult()
89 static void ReturnPromiseResult(napi_env env, CfCtx *context, napi_value result) in ReturnPromiseResult()
99 static void ReturnResult(napi_env env, CfCtx *context, napi_value result) in ReturnResult()
108 static bool CreateCallbackAndPromise(napi_env env, CfCtx *context, size_t argc, in CreateCallbackAndPromise()
135 CfCtx *context = static_cast<CfCtx *>(data); in GetEncodedExecute()
155 CfCtx *context = static_cast<CfCtx *>(data); in GetEncodedComplete()
176 CfCtx *context = static_cast<CfCtx *>(HcfMalloc(sizeof(CfCtx), 0)); in GetEncoded()
Dnapi_x509_crl.cpp35 struct CfCtx { struct
57 static void FreeCryptoFwkCtx(napi_env env, CfCtx *context) in FreeCryptoFwkCtx()
93 static void ReturnCallbackResult(napi_env env, CfCtx *context, napi_value result) in ReturnCallbackResult()
110 static void ReturnPromiseResult(napi_env env, CfCtx *context, napi_value result) in ReturnPromiseResult()
120 static void ReturnResult(napi_env env, CfCtx *context, napi_value result) in ReturnResult()
129 static bool CreateCallbackAndPromise(napi_env env, CfCtx *context, size_t argc, in CreateCallbackAndPromise()
156 CfCtx *context = static_cast<CfCtx *>(data); in GetEncodedExecute()
175 CfCtx *context = static_cast<CfCtx *>(data); in GetEncodedComplete()
188 CfCtx *context = static_cast<CfCtx *>(data); in VerifyExecute()
199 CfCtx *context = static_cast<CfCtx *>(data); in VerifyComplete()
[all …]
Dnapi_x509_certificate.cpp36 struct CfCtx { struct
68 static void FreeCryptoFwkCtx(napi_env env, CfCtx *context) in FreeCryptoFwkCtx()
93 static void ReturnCallbackResult(napi_env env, CfCtx *context, napi_value result) in ReturnCallbackResult()
110 static void ReturnPromiseResult(napi_env env, CfCtx *context, napi_value result) in ReturnPromiseResult()
120 static void ReturnResult(napi_env env, CfCtx *context, napi_value result) in ReturnResult()
129 static bool CreateCallbackAndPromise(napi_env env, CfCtx *context, size_t argc, in CreateCallbackAndPromise()
147 CfCtx *context = static_cast<CfCtx *>(data); in VerifyExecute()
158 CfCtx *context = static_cast<CfCtx *>(data); in VerifyComplete()
165 CfCtx *context = static_cast<CfCtx *>(data); in GetEncodedExecute()
184 CfCtx *context = static_cast<CfCtx *>(data); in GetEncodedComplete()
[all …]