Home
last modified time | relevance | path

Searched refs:certPIN (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/options/src/
H A Dhttp_request_options.cpp296 void HttpRequestOptions::SetCertificatePinning(std::string certPIN) in SetCertificatePinning() argument
298 certificatePinning_ = std::move(certPIN); in SetCertificatePinning()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/async_context/src/
H A Drequest_context.cpp761 CertificatePinning RequestContext::NapiValue2CertPinning(napi_value certPIN) in NapiValue2CertPinning() argument
765 …auto algorithm = NapiUtils::GetStringPropertyUtf8(env, certPIN, HttpConstant::HTTP_HASH_ALGORITHM); in NapiValue2CertPinning()
772 …singleCertPIN.publicKeyHash = NapiUtils::GetStringPropertyUtf8(env, certPIN, HttpConstant::HTTP_PU… in NapiValue2CertPinning()
812 napi_value certPIN = NapiUtils::GetArrayElement(env, certificatePin, i); in ParseCertificatePinning() local
813 CertificatePinning singleCertPIN = NapiValue2CertPinning(certPIN); in ParseCertificatePinning()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/async_context/include/
H A Drequest_context.h198 CertificatePinning NapiValue2CertPinning(napi_value certPIN);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/options/include/
H A Dhttp_request_options.h98 void SetCertificatePinning(std::string certPIN);
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/
H A Dhttp_exec.cpp948 auto certPIN = context->options.GetCertificatePinning(); in AddCurlHandle() local
949 if (certPIN.empty()) { in AddCurlHandle()
954 NETSTACK_CURL_EASY_SET_OPTION(curl, CURLOPT_PINNEDPUBLICKEY, certPIN.c_str(), context); in AddCurlHandle()