Lines Matching refs:TlsConnectionImpl
38 class TlsConnectionImpl : public TlsConnection { class
40 explicit TlsConnectionImpl(Role role, std::string_view cert, std::string_view priv_key,
42 ~TlsConnectionImpl() override;
85 TlsConnectionImpl::TlsConnectionImpl(Role role, std::string_view cert, std::string_view priv_key, in TlsConnectionImpl() function in adb::tls::__anon687488e00111::TlsConnectionImpl
96 TlsConnectionImpl::~TlsConnectionImpl() { in ~TlsConnectionImpl()
104 const char* TlsConnectionImpl::SSLErrorString() { in SSLErrorString()
110 bssl::UniquePtr<EVP_PKEY> TlsConnectionImpl::EvpPkeyFromPEM(std::string_view pem) { in EvpPkeyFromPEM()
116 bssl::UniquePtr<CRYPTO_BUFFER> TlsConnectionImpl::BufferFromPEM(std::string_view pem) { in BufferFromPEM()
136 bssl::UniquePtr<X509> TlsConnectionImpl::X509FromBuffer(bssl::UniquePtr<CRYPTO_BUFFER> buffer) { in X509FromBuffer()
144 int TlsConnectionImpl::SSLSetCertVerifyCb(X509_STORE_CTX* ctx, void* opaque) { in SSLSetCertVerifyCb()
145 auto* p = reinterpret_cast<TlsConnectionImpl*>(opaque); in SSLSetCertVerifyCb()
150 int TlsConnectionImpl::SSLSetCertCb(SSL* ssl, void* opaque) { in SSLSetCertCb()
151 auto* p = reinterpret_cast<TlsConnectionImpl*>(opaque); in SSLSetCertCb()
155 bool TlsConnectionImpl::AddTrustedCertificate(std::string_view cert) { in AddTrustedCertificate()
166 void TlsConnectionImpl::SetCertVerifyCallback(CertVerifyCb cb) { in SetCertVerifyCallback()
170 void TlsConnectionImpl::SetCertificateCallback(SetCertCb cb) { in SetCertificateCallback()
174 void TlsConnectionImpl::SetClientCAList(STACK_OF(X509_NAME) * ca_list) { in SetClientCAList()
179 std::vector<uint8_t> TlsConnectionImpl::ExportKeyingMaterial(size_t length) { in ExportKeyingMaterial()
192 void TlsConnectionImpl::EnableClientPostHandshakeCheck(bool enable) { in EnableClientPostHandshakeCheck()
196 TlsConnection::TlsError TlsConnectionImpl::GetFailureReason(int err) { in GetFailureReason()
214 TlsConnection::TlsError TlsConnectionImpl::DoHandshake() { in DoHandshake()
306 void TlsConnectionImpl::Invalidate() { in Invalidate()
311 std::vector<uint8_t> TlsConnectionImpl::ReadFully(size_t size) { in ReadFully()
320 bool TlsConnectionImpl::ReadFully(void* buf, size_t size) { in ReadFully()
342 bool TlsConnectionImpl::WriteFully(std::string_view data) { in WriteFully()
369 return std::make_unique<TlsConnectionImpl>(role, cert, priv_key, fd); in Create()
377 auto x509_cert = TlsConnectionImpl::BufferFromPEM(cert); in SetCertAndKey()
378 auto evp_pkey = TlsConnectionImpl::EvpPkeyFromPEM(priv_key); in SetCertAndKey()