Home
last modified time | relevance | path

Searched refs:ca_list (Results 1 – 6 of 6) sorted by relevance

/packages/modules/adb/tls/
Dtls_connection.cpp47 void SetClientCAList(STACK_OF(X509_NAME) * ca_list) override;
174 void TlsConnectionImpl::SetClientCAList(STACK_OF(X509_NAME) * ca_list) { in SetClientCAList() argument
176 ca_list_.reset(ca_list != nullptr ? SSL_dup_CA_list(ca_list) : nullptr); in SetClientCAList()
/packages/modules/adb/client/
Dauth.cpp515 const STACK_OF(X509_NAME)* ca_list = SSL_get_client_CA_list(ssl); in adb_tls_set_certificate()
516 if (ca_list == nullptr) { in adb_tls_set_certificate()
523 const size_t num_cas = sk_X509_NAME_num(ca_list); in adb_tls_set_certificate()
525 auto* x509_name = sk_X509_NAME_value(ca_list, i); in adb_tls_set_certificate()
/packages/modules/adb/daemon/
Dauth.cpp112 bssl::UniquePtr<STACK_OF(X509_NAME)> ca_list(sk_X509_NAME_new_null()); in adbd_tls_client_ca_list() local
149 CHECK(bssl::PushToStack(ca_list.get(), std::move(issuer))); in adbd_tls_client_ca_list()
153 return ca_list; in adbd_tls_client_ca_list()
/packages/modules/adb/tls/tests/
Dtls_connection_test.cpp574 bssl::UniquePtr<STACK_OF(X509_NAME)> ca_list(sk_X509_NAME_new_null()); in TEST_F() local
577 ASSERT_TRUE(bssl::PushToStack(ca_list.get(), std::move(issuer))); in TEST_F()
578 server_->SetClientCAList(ca_list.get()); in TEST_F()
/packages/modules/adb/tls/include/adb/tls/
Dtls_connection.h72 virtual void SetClientCAList(STACK_OF(X509_NAME) * ca_list) = 0;
/packages/modules/adb/
Dtransport.cpp542 auto ca_list = adbd_tls_client_ca_list(); in DoTlsHandshake() local
543 tls_->SetClientCAList(ca_list.get()); in DoTlsHandshake()