26#ifndef ROUTING_SRC_PROCESSORS_FORWARDERS_CLASSIC_AUTH_SHA256_PASSWORD_FORWARDER_H_
27#define ROUTING_SRC_PROCESSORS_FORWARDERS_CLASSIC_AUTH_SHA256_PASSWORD_FORWARDER_H_
32#include <system_error>
45 std::string initial_server_auth_data,
46 bool in_handshake =
false)
Definition: classic_auth_sha256_password_forwarder.h:42
Stage stage() const
Definition: classic_auth_sha256_password_forwarder.h:70
std::optional< std::string_view > diagnostic_stage_name() const override
stage name of a staged processor.
Definition: classic_auth_sha256_password_forwarder.cc:440
stdx::expected< Result, std::error_code > ok()
Definition: classic_auth_sha256_password_forwarder.cc:419
Stage
Definition: classic_auth_sha256_password_forwarder.h:51
AuthSha256Forwarder(MysqlRoutingClassicConnectionBase *conn, std::string initial_server_auth_data, bool in_handshake=false)
Definition: classic_auth_sha256_password_forwarder.h:44
stdx::expected< Result, std::error_code > error()
Definition: classic_auth_sha256_password_forwarder.cc:430
stdx::expected< Result, std::error_code > encrypted_password()
Definition: classic_auth_sha256_password_forwarder.cc:177
stdx::expected< Result, std::error_code > response()
Definition: classic_auth_sha256_password_forwarder.cc:270
stdx::expected< Result, std::error_code > public_key_response()
Definition: classic_auth_sha256_password_forwarder.cc:314
stdx::expected< Result, std::error_code > init()
Definition: classic_auth_sha256_password_forwarder.cc:66
stdx::expected< Result, std::error_code > send_password()
Definition: classic_auth_sha256_password_forwarder.cc:229
stdx::expected< Result, std::error_code > public_key()
Definition: classic_auth_sha256_password_forwarder.cc:363
stdx::expected< Result, std::error_code > process() override
Definition: classic_auth_sha256_password_forwarder.cc:41
Stage stage_
Definition: classic_auth_sha256_password_forwarder.h:92
std::string initial_server_auth_data_
Definition: classic_auth_sha256_password_forwarder.h:88
RsaTlsContext rsa_tls_context_
Definition: classic_auth_sha256_password_forwarder.h:90
void stage(Stage stage)
Definition: classic_auth_sha256_password_forwarder.h:69
stdx::expected< Result, std::error_code > client_data()
Definition: classic_auth_sha256_password_forwarder.cc:84
Definition: classic_auth_sha256_password.h:39
a processor base class with helper functions.
Definition: forwarding_processor.h:38
Definition: classic_connection_base.h:57
Pins one TLS generation for an RSA password exchange.
Definition: classic_auth.h:76
Definition: expected.h:286
Define std::hash<Gtid>.
Definition: gtid.h:355