Go to the documentation of this file.
19 #ifndef GRPC_CORE_TSI_TRANSPORT_SECURITY_INTERFACE_H
20 #define GRPC_CORE_TSI_TRANSPORT_SECURITY_INTERFACE_H
171 const unsigned char* unprotected_bytes,
172 size_t* unprotected_bytes_size,
173 unsigned char* protected_output_frames,
174 size_t* protected_output_frames_size);
186 size_t* protected_output_frames_size,
size_t* still_pending_size);
212 size_t* protected_frames_bytes_size,
unsigned char* unprotected_bytes,
213 size_t* unprotected_bytes_size);
223 #define TSI_CERTIFICATE_TYPE_PEER_PROPERTY "certificate_type"
226 #define TSI_SECURITY_LEVEL_PEER_PROPERTY "security_level"
396 unsigned char*
bytes,
410 const unsigned char*
bytes,
423 #define tsi_handshaker_is_in_progress(h) \
424 (tsi_handshaker_get_result((h)) == TSI_HANDSHAKE_IN_PROGRESS)
487 size_t received_bytes_size,
const unsigned char** bytes_to_send,
void tsi_handshaker_result_destroy(tsi_handshaker_result *self)
@ TSI_DONT_REQUEST_CLIENT_CERTIFICATE
tsi_peer_property * properties
tsi_result tsi_frame_protector_protect_flush(tsi_frame_protector *self, unsigned char *protected_output_frames, size_t *protected_output_frames_size, size_t *still_pending_size)
struct tsi_peer_property::@48 value
tsi_result tsi_handshaker_process_bytes_from_peer(tsi_handshaker *self, const unsigned char *bytes, size_t *bytes_size)
grpc_core::TraceFlag tsi_tracing_enabled
tsi_result tsi_handshaker_get_bytes_to_send_to_peer(tsi_handshaker *self, unsigned char *bytes, size_t *bytes_size)
const char * tsi_security_level_to_string(tsi_security_level security_level)
@ TSI_FRAME_PROTECTOR_NORMAL
@ TSI_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_AND_VERIFY
@ TSI_FAILED_PRECONDITION
tsi_result tsi_frame_protector_unprotect(tsi_frame_protector *self, const unsigned char *protected_frames_bytes, size_t *protected_frames_bytes_size, unsigned char *unprotected_bytes, size_t *unprotected_bytes_size)
@ TSI_FRAME_PROTECTOR_ZERO_COPY
@ TSI_REQUEST_CLIENT_CERTIFICATE_BUT_DONT_VERIFY
tsi_result tsi_frame_protector_protect(tsi_frame_protector *self, const unsigned char *unprotected_bytes, size_t *unprotected_bytes_size, unsigned char *protected_output_frames, size_t *protected_output_frames_size)
tsi_client_certificate_request_type
void tsi_peer_destruct(tsi_peer *self)
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)
struct tsi_peer_property tsi_peer_property
tsi_result tsi_handshaker_create_frame_protector(tsi_handshaker *self, size_t *max_output_protected_frame_size, tsi_frame_protector **protector)
@ TSI_REQUEST_AND_REQUIRE_CLIENT_CERTIFICATE_BUT_DONT_VERIFY
void tsi_handshaker_destroy(tsi_handshaker *self)
tsi_result tsi_handshaker_result_create_frame_protector(const tsi_handshaker_result *self, size_t *max_output_protected_frame_size, tsi_frame_protector **protector)
tsi_result tsi_handshaker_extract_peer(tsi_handshaker *self, tsi_peer *peer)
@ TSI_REQUEST_CLIENT_CERTIFICATE_AND_VERIFY
tsi_result tsi_handshaker_get_result(tsi_handshaker *self)
tsi_result tsi_handshaker_next(tsi_handshaker *self, const unsigned char *received_bytes, size_t received_bytes_size, const unsigned char **bytes_to_send, size_t *bytes_to_send_size, tsi_handshaker_result **handshaker_result, tsi_handshaker_on_next_done_cb cb, void *user_data)
const char * tsi_result_to_string(tsi_result result)
tsi_result tsi_handshaker_result_get_unused_bytes(const tsi_handshaker_result *self, const unsigned char **bytes, size_t *bytes_size)
tsi_result tsi_handshaker_result_extract_peer(const tsi_handshaker_result *self, tsi_peer *peer)
void tsi_handshaker_shutdown(tsi_handshaker *self)
tsi_result tsi_handshaker_result_get_frame_protector_type(const tsi_handshaker_result *self, tsi_frame_protector_type *frame_protector_type)
@ TSI_PRIVACY_AND_INTEGRITY
@ TSI_FRAME_PROTECTOR_NORMAL_OR_ZERO_COPY
OPENSSL_EXPORT pem_password_cb * cb
void tsi_frame_protector_destroy(tsi_frame_protector *self)
@ TSI_HANDSHAKE_IN_PROGRESS
@ TSI_FRAME_PROTECTOR_NONE
grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:40