19 #ifndef GRPC_CORE_TSI_TRANSPORT_SECURITY_GRPC_H
20 #define GRPC_CORE_TSI_TRANSPORT_SECURITY_GRPC_H
Represents an expandable array of slices, to be interpreted as a single item.
Definition: slice.h:78
Definition: transport_security.h:106
Definition: transport_security_grpc.h:64
tsi_result(* protect)(tsi_zero_copy_grpc_protector *self, grpc_slice_buffer *unprotected_slices, grpc_slice_buffer *protected_slices)
Definition: transport_security_grpc.h:65
void(* destroy)(tsi_zero_copy_grpc_protector *self)
Definition: transport_security_grpc.h:71
tsi_result(* unprotect)(tsi_zero_copy_grpc_protector *self, grpc_slice_buffer *protected_slices, grpc_slice_buffer *unprotected_slices)
Definition: transport_security_grpc.h:68
tsi_result(* max_frame_size)(tsi_zero_copy_grpc_protector *self, size_t *max_frame_size)
Definition: transport_security_grpc.h:72
Definition: transport_security_grpc.h:75
const tsi_zero_copy_grpc_protector_vtable * vtable
Definition: transport_security_grpc.h:76
tsi_result tsi_handshaker_result_create_zero_copy_grpc_protector(const tsi_handshaker_result *self, size_t *max_output_protected_frame_size, tsi_zero_copy_grpc_protector **protector)
Definition: transport_security_grpc.cc:24
tsi_result tsi_zero_copy_grpc_protector_protect(tsi_zero_copy_grpc_protector *self, grpc_slice_buffer *unprotected_slices, grpc_slice_buffer *protected_slices)
Definition: transport_security_grpc.cc:41
void tsi_zero_copy_grpc_protector_destroy(tsi_zero_copy_grpc_protector *self)
Definition: transport_security_grpc.cc:63
tsi_result tsi_zero_copy_grpc_protector_max_frame_size(tsi_zero_copy_grpc_protector *self, size_t *max_frame_size)
Definition: transport_security_grpc.cc:68
tsi_result tsi_zero_copy_grpc_protector_unprotect(tsi_zero_copy_grpc_protector *self, grpc_slice_buffer *protected_slices, grpc_slice_buffer *unprotected_slices)
Definition: transport_security_grpc.cc:52
tsi_result
Definition: transport_security_interface.h:31