Go to the documentation of this file.
19 #ifndef GRPC_CORE_TSI_ALTS_HANDSHAKER_ALTS_HANDSHAKER_CLIENT_H
20 #define GRPC_CORE_TSI_ALTS_HANDSHAKER_ALTS_HANDSHAKER_CLIENT_H
24 #include <grpc/byte_buffer.h>
33 #define ALTS_SERVICE_METHOD "/grpc.gcp.HandshakerService/DoHandshake"
34 #define ALTS_APPLICATION_PROTOCOL "grpc"
35 #define ALTS_RECORD_PROTOCOL "ALTSRP_GCM_AES128_REKEY"
36 #define ALTS_HANDSHAKER_SERVICE_URL_FOR_TESTING "lame"
147 bool is_client,
size_t max_frame_size);
grpc_call_error(* alts_grpc_caller)(grpc_call *call, const grpc_op *ops, size_t nops, grpc_closure *tag)
void(* destruct)(alts_handshaker_client *client)
void alts_handshaker_client_shutdown(alts_handshaker_client *client)
tsi_result(* server_start)(alts_handshaker_client *client, grpc_slice *bytes_received)
struct grpc_pollset_set grpc_pollset_set
tsi_result alts_handshaker_client_start_client(alts_handshaker_client *client)
static int bytes_received
tsi_result(* client_start)(alts_handshaker_client *client)
void alts_handshaker_client_handle_response(alts_handshaker_client *client, bool is_ok)
wrapped_grpc_channel * channel
const size_t kAltsAes128GcmRekeyKeyLength
static void * tag(intptr_t t)
struct grpc_call grpc_call
void(* shutdown)(alts_handshaker_client *client)
void(* tsi_handshaker_on_next_done_cb)(tsi_result status, void *user_data, const unsigned char *bytes_to_send, size_t bytes_to_send_size, tsi_handshaker_result *handshaker_result)
void alts_handshaker_client_destroy(alts_handshaker_client *client)
alts_handshaker_client * alts_grpc_handshaker_client_create(alts_tsi_handshaker *handshaker, grpc_channel *channel, const char *handshaker_service_url, grpc_pollset_set *interested_parties, grpc_alts_credentials_options *options, const grpc_slice &target_name, grpc_iomgr_cb_func grpc_cb, tsi_handshaker_on_next_done_cb cb, void *user_data, alts_handshaker_client_vtable *vtable_for_testing, bool is_client, size_t max_frame_size)
tsi_result(* next)(alts_handshaker_client *client, grpc_slice *bytes_received)
tsi_result alts_handshaker_client_start_server(alts_handshaker_client *client, grpc_slice *bytes_received)
void(* grpc_iomgr_cb_func)(void *arg, grpc_error_handle error)
struct grpc_channel grpc_channel
tsi_result alts_handshaker_client_next(alts_handshaker_client *client, grpc_slice *bytes_received)
OPENSSL_EXPORT pem_password_cb * cb
struct alts_handshaker_client_vtable alts_handshaker_client_vtable
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:41