Searched refs:TlsError (Results 1 – 5 of 5) sorted by relevance
38 using TlsError = TlsConnection::TlsError; typedef244 void StartClientHandshakeAsync(TlsError expected) { in StartClientHandshakeAsync()294 StartClientHandshakeAsync(TlsError::Success); in TEST_F()297 ASSERT_EQ(server_->DoHandshake(), TlsError::Success); in TEST_F()319 StartClientHandshakeAsync(TlsError::CertificateRejected); in TEST_F()322 ASSERT_EQ(server_->DoHandshake(), TlsError::PeerRejectedCertificate); in TEST_F()347 StartClientHandshakeAsync(TlsError::Success); in TEST_F()350 ASSERT_EQ(server_->DoHandshake(), TlsError::Success); in TEST_F()378 StartClientHandshakeAsync(TlsError::Success); in TEST_F()381 ASSERT_EQ(server_->DoHandshake(), TlsError::CertificateRejected); in TEST_F()[all …]
48 TlsError DoHandshake() override;63 TlsError GetFailureReason(int err);194 TlsConnection::TlsError TlsConnectionImpl::GetFailureReason(int err) { in GetFailureReason()204 return TlsError::PeerRejectedCertificate; in GetFailureReason()206 return TlsError::CertificateRejected; in GetFailureReason()208 return TlsError::UnknownFailure; in GetFailureReason()212 TlsConnection::TlsError TlsConnectionImpl::DoHandshake() { in DoHandshake()222 return TlsError::UnknownFailure; in DoHandshake()229 return TlsError::UnknownFailure; in DoHandshake()259 return TlsError::UnknownFailure; in DoHandshake()[all …]
41 enum class TlsError : uint8_t { enum96 virtual TlsError DoHandshake() = 0;
39 using TlsError = tls::TlsConnection::TlsError; typedef185 if (tls_->DoHandshake() != TlsError::Success) { in SetupTlsConnection()
64 using TlsError = TlsConnection::TlsError; typedef539 if (err == TlsError::Success) { in DoTlsHandshake()