Searched refs:TlsConnection (Results 1 – 7 of 7) sorted by relevance
/system/core/adb/tls/include/adb/tls/ |
D | tls_connection.h | 32 class TlsConnection { 54 virtual ~TlsConnection() = default; 113 static std::unique_ptr<TlsConnection> Create(Role role, std::string_view cert, 122 TlsConnection() = default;
|
/system/core/adb/tls/tests/ |
D | tls_connection_test.cpp | 38 using TlsError = TlsConnection::TlsError; 214 server_ = TlsConnection::Create(TlsConnection::Role::Server, kTestRsa2048ServerCert, in SetUp() 216 client_ = TlsConnection::Create(TlsConnection::Role::Client, kTestRsa2048ClientCert, in SetUp() 257 std::unique_ptr<TlsConnection> server_; 258 std::unique_ptr<TlsConnection> client_; 266 server_ = TlsConnection::Create(TlsConnection::Role::Server, "", in TEST_F() 272 server_ = TlsConnection::Create(TlsConnection::Role::Server, kTestRsa2048ServerCert, in TEST_F() 278 client_ = TlsConnection::Create(TlsConnection::Role::Client, "", in TEST_F() 284 client_ = TlsConnection::Create(TlsConnection::Role::Client, kTestRsa2048ClientCert, in TEST_F() 544 EXPECT_TRUE(TlsConnection::SetCertAndKey(ssl, kTestRsa2048UnknownCert, in TEST_F()
|
/system/core/adb/tls/ |
D | tls_connection.cpp | 36 class TlsConnectionImpl : public TlsConnection { 194 TlsConnection::TlsError TlsConnectionImpl::GetFailureReason(int err) { in GetFailureReason() 212 TlsConnection::TlsError TlsConnectionImpl::DoHandshake() { in DoHandshake() 361 std::unique_ptr<TlsConnection> TlsConnection::Create(TlsConnection::Role role, in Create() 371 bool TlsConnection::SetCertAndKey(SSL* ssl, std::string_view cert, std::string_view priv_key) { in SetCertAndKey()
|
/system/core/adb/pairing_connection/ |
D | pairing_connection.cpp | 39 using TlsError = tls::TlsConnection::TlsError; 146 std::unique_ptr<tls::TlsConnection> tls_; 168 tls_ = tls::TlsConnection::Create( in SetupTlsConnection() 169 role_ == Role::Server ? tls::TlsConnection::Role::Server in SetupTlsConnection() 170 : tls::TlsConnection::Role::Client, in SetupTlsConnection()
|
/system/core/adb/ |
D | transport.h | 51 class TlsConnection; variable 212 std::unique_ptr<adb::tls::TlsConnection> tls_;
|
D | transport.cpp | 61 using TlsError = TlsConnection::TlsError; 509 tls_ = TlsConnection::Create(TlsConnection::Role::Client, x509_str, evp_str, osh); in DoTlsHandshake() 511 tls_ = TlsConnection::Create(TlsConnection::Role::Server, x509_str, evp_str, osh); in DoTlsHandshake()
|
/system/core/adb/client/ |
D | auth.cpp | 549 TlsConnection::SetCertAndKey(ssl, x509_str, evp_str); in adb_tls_set_certificate()
|