Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dtls_context_server.cpp179 if (!X509_STORE_load_path(SSL_CTX_get_cert_store(tlsContext->ctx_), path.c_str())) { in SetDefaultCa()
188 … if (!X509_STORE_load_path(SSL_CTX_get_cert_store(tlsContext->ctx_), ROOT_CERT_PATH.c_str())) { in SetDefaultCa()
198 if (!X509_STORE_load_path(SSL_CTX_get_cert_store(tlsContext->ctx_), userCertPath.c_str())) { in SetDefaultCa()
205 …if (!X509_STORE_load_path(SSL_CTX_get_cert_store(tlsContext->ctx_), SYSTEM_REPLACE_CA_PATH.c_str()… in SetDefaultCa()
226 …if (!X509_STORE_add_cert(SSL_CTX_get_cert_store(tlsContext->ctx_), static_cast<X509 *>(ca.handle()… in SetCaAndVerify()
H A Dtls_context.cpp180 if (!X509_STORE_load_path(SSL_CTX_get_cert_store(tlsContext->ctx_), path.c_str())) { in SetDefaultCa()
188 … if (!X509_STORE_load_path(SSL_CTX_get_cert_store(tlsContext->ctx_), ROOT_CERT_PATH.c_str())) { in SetDefaultCa()
198 if (!X509_STORE_load_path(SSL_CTX_get_cert_store(tlsContext->ctx_), userCertPath.c_str())) { in SetDefaultCa()
205 …if (!X509_STORE_load_path(SSL_CTX_get_cert_store(tlsContext->ctx_), SYSTEM_REPLACE_CA_PATH.c_str()… in SetDefaultCa()
224 …if (X509_STORE_add_cert(SSL_CTX_get_cert_store(tlsContext->ctx_), static_cast<X509 *>(ca.handle())… in SetCaAndVerify()
H A Dtls_socket.cpp1784 auto x509Store = SSL_CTX_get_cert_store(sslCtx); in LoadCachedCaCert()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
H A Dctx.rs24 SSL_CTX_free, SSL_CTX_get_cert_store, SSL_CTX_set_default_verify_paths, SSL_CTX_set_verify,
269 unsafe { X509StoreRef::from_ptr_mut(SSL_CTX_get_cert_store(ptr)) } in cert_store_mut()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ffi/
H A Dssl.rs100 pub(crate) fn SSL_CTX_get_cert_store(ctx: *const SSL_CTX) -> *mut X509_STORE; in SSL_CTX_get_cert_store() function