Searched refs:TlsConnection (Results 1 – 7 of 7) sorted by relevance
/packages/modules/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()
|
/packages/modules/adb/tls/include/adb/tls/ |
D | tls_connection.h | 33 class TlsConnection { 55 virtual ~TlsConnection() = default; 114 static std::unique_ptr<TlsConnection> Create(Role role, std::string_view cert, 123 TlsConnection() = default;
|
/packages/modules/adb/tls/ |
D | tls_connection.cpp | 38 class TlsConnectionImpl : public TlsConnection { 196 TlsConnection::TlsError TlsConnectionImpl::GetFailureReason(int err) { in GetFailureReason() 214 TlsConnection::TlsError TlsConnectionImpl::DoHandshake() { in DoHandshake() 363 std::unique_ptr<TlsConnection> TlsConnection::Create(TlsConnection::Role role, in Create() 373 bool TlsConnection::SetCertAndKey(SSL* ssl, std::string_view cert, std::string_view priv_key) { in SetCertAndKey()
|
/packages/modules/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()
|
/packages/modules/adb/ |
D | transport.h | 53 class TlsConnection; variable 216 std::unique_ptr<adb::tls::TlsConnection> tls_;
|
D | transport.cpp | 68 using TlsError = TlsConnection::TlsError; 521 tls_ = TlsConnection::Create(TlsConnection::Role::Client, x509_str, evp_str, osh); in DoTlsHandshake() 523 tls_ = TlsConnection::Create(TlsConnection::Role::Server, x509_str, evp_str, osh); in DoTlsHandshake()
|
/packages/modules/adb/client/ |
D | auth.cpp | 548 TlsConnection::SetCertAndKey(ssl, x509_str, evp_str); in adb_tls_set_certificate()
|