19 #ifndef GRPC_CORE_TSI_TRANSPORT_SECURITY_H
20 #define GRPC_CORE_TSI_TRANSPORT_SECURITY_H
35 const unsigned char* unprotected_bytes,
36 size_t* unprotected_bytes_size,
37 unsigned char* protected_output_frames,
38 size_t* protected_output_frames_size);
40 unsigned char* protected_output_frames,
41 size_t* protected_output_frames_size,
42 size_t* still_pending_size);
44 const unsigned char* protected_frames_bytes,
45 size_t* protected_frames_bytes_size,
46 unsigned char* unprotected_bytes,
47 size_t* unprotected_bytes_size);
62 const unsigned char* bytes,
67 size_t* max_protected_frame_size,
71 size_t received_bytes_size,
72 const unsigned char** bytes_to_send,
73 size_t* bytes_to_send_size,
98 size_t* max_output_protected_frame_size,
101 size_t* max_output_protected_frame_size,
104 const unsigned char** bytes,
QueuedPick * next
Definition: client_channel.cc:113
Definition: transport_security.h:33
Definition: transport_security.h:51
const tsi_frame_protector_vtable * vtable
Definition: transport_security.h:52
Definition: transport_security.h:94
Definition: transport_security.h:109
const tsi_handshaker_result_vtable * vtable
Definition: transport_security.h:110
Definition: transport_security.h:57
Definition: transport_security.h:79
bool frame_protector_created
Definition: transport_security.h:81
bool handshaker_result_created
Definition: transport_security.h:82
const tsi_handshaker_vtable * vtable
Definition: transport_security.h:80
bool handshake_shutdown
Definition: transport_security.h:83
Definition: transport_security_interface.h:190
Definition: transport_security_interface.h:198
Definition: transport_security_grpc.h:76
tsi_result tsi_construct_peer(size_t property_count, tsi_peer *peer)
Definition: transport_security.cc:332
char * tsi_strdup(const char *src)
const tsi_peer_property * tsi_peer_get_property_by_name(const tsi_peer *peer, const char *name)
Definition: transport_security.cc:342
tsi_result tsi_construct_string_peer_property(const char *name, const char *value, size_t value_length, tsi_peer_property *property)
Definition: transport_security.cc:319
void tsi_peer_property_destruct(tsi_peer_property *property)
Definition: transport_security.cc:283
tsi_result tsi_construct_allocated_string_peer_property(const char *name, size_t value_length, tsi_peer_property *property)
Definition: transport_security.cc:302
tsi_result tsi_construct_string_peer_property_from_cstring(const char *name, const char *value, tsi_peer_property *property)
Definition: transport_security.cc:313
tsi_peer_property tsi_init_peer_property(void)
Definition: transport_security.cc:268
grpc_core::TraceFlag tsi_tracing_enabled
tsi_result
Definition: transport_security_interface.h:31
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)
Definition: transport_security_interface.h:417