34 #ifndef GRPC_INTERNAL_CORE_TSI_TRANSPORT_SECURITY_H
35 #define GRPC_INTERNAL_CORE_TSI_TRANSPORT_SECURITY_H
37 #include "src/core/tsi/transport_security_interface.h"
43 extern int tsi_tracing_enabled;
49 const unsigned char* unprotected_bytes,
50 size_t* unprotected_bytes_size,
51 unsigned char* protected_output_frames,
52 size_t* protected_output_frames_size);
54 unsigned char* protected_output_frames,
55 size_t* protected_output_frames_size,
56 size_t* still_pending_size);
58 const unsigned char* protected_frames_bytes,
59 size_t* protected_frames_bytes_size,
60 unsigned char* unprotected_bytes,
61 size_t* unprotected_bytes_size);
75 tsi_result (*process_bytes_from_peer)(tsi_handshaker*
self,
76 const unsigned char* bytes,
78 tsi_result (*get_result)(tsi_handshaker*
self);
79 tsi_result (*extract_peer)(tsi_handshaker*
self,
tsi_peer* peer);
80 tsi_result (*create_frame_protector)(tsi_handshaker*
self,
81 size_t* max_protected_frame_size,
83 void (*destroy)(tsi_handshaker*
self);
88 int frame_protector_created;
92 tsi_result tsi_construct_peer(
size_t property_count,
tsi_peer* peer);
95 tsi_result tsi_construct_string_peer_property(
const char* name,
99 tsi_result tsi_construct_allocated_string_peer_property(
101 tsi_result tsi_construct_string_peer_property_from_cstring(
105 char* tsi_strdup(
const char* src);
Definition: transport_security.h:65
Definition: transport_security_interface.h:192
Definition: transport_security.h:47
Definition: transport_security.h:71
Definition: transport_security.h:86
Definition: transport_security_interface.h:184