#include <grpc/support/port_platform.h>
#include <grpc/byte_buffer.h>
#include <grpc/grpc.h>
#include "src/core/tsi/transport_security_interface.h"
#include "src/proto/grpc/gcp/handshaker.upb.h"
Go to the source code of this file.
Functions | |
tsi_result | alts_tsi_utils_convert_to_tsi_result (grpc_status_code code) |
grpc_gcp_HandshakerResp * | alts_tsi_utils_deserialize_response (grpc_byte_buffer *resp_buffer, upb_Arena *arena) |
tsi_result alts_tsi_utils_convert_to_tsi_result | ( | grpc_status_code | code | ) |
This method converts grpc_status_code code to the corresponding tsi_result code.
It returns the converted tsi_result code.
Definition at line 27 of file alts_tsi_utils.cc.
grpc_gcp_HandshakerResp* alts_tsi_utils_deserialize_response | ( | grpc_byte_buffer * | resp_buffer, |
upb_Arena * | arena | ||
) |
This method deserializes a handshaker response returned from ALTS handshaker service.
It returns a deserialized handshaker response on success and nullptr on failure.
Definition at line 44 of file alts_tsi_utils.cc.