Functions
alts_handshaker_service_api_test_lib.h File Reference
#include "src/core/tsi/alts/handshaker/transport_security_common_api.h"
#include "src/proto/grpc/gcp/handshaker.upb.h"
Include dependency graph for alts_handshaker_service_api_test_lib.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

grpc_gcp_HandshakerReqgrpc_gcp_handshaker_req_decode (grpc_slice slice, upb_Arena *arena)
 
bool grpc_gcp_handshaker_resp_equals (const grpc_gcp_HandshakerResp *l_resp, const grpc_gcp_HandshakerResp *r_resp)
 
bool grpc_gcp_handshaker_resp_result_equals (const grpc_gcp_HandshakerResult *l_result, const grpc_gcp_HandshakerResult *r_result)
 
bool grpc_gcp_handshaker_resp_set_peer_rpc_versions (grpc_gcp_HandshakerResp *resp, upb_Arena *arena, uint32_t max_major, uint32_t max_minor, uint32_t min_major, uint32_t min_minor)
 
bool grpc_gcp_handshaker_resp_status_equals (const grpc_gcp_HandshakerStatus *l_status, const grpc_gcp_HandshakerStatus *r_status)
 

Function Documentation

◆ grpc_gcp_handshaker_req_decode()

grpc_gcp_HandshakerReq* grpc_gcp_handshaker_req_decode ( grpc_slice  slice,
upb_Arena arena 
)

Definition at line 44 of file alts_handshaker_service_api_test_lib.cc.

◆ grpc_gcp_handshaker_resp_equals()

bool grpc_gcp_handshaker_resp_equals ( const grpc_gcp_HandshakerResp l_resp,
const grpc_gcp_HandshakerResp r_resp 
)

Definition at line 105 of file alts_handshaker_service_api_test_lib.cc.

◆ grpc_gcp_handshaker_resp_result_equals()

bool grpc_gcp_handshaker_resp_result_equals ( const grpc_gcp_HandshakerResult l_result,
const grpc_gcp_HandshakerResult r_result 
)

Definition at line 120 of file alts_handshaker_service_api_test_lib.cc.

◆ grpc_gcp_handshaker_resp_set_peer_rpc_versions()

bool grpc_gcp_handshaker_resp_set_peer_rpc_versions ( grpc_gcp_HandshakerResp resp,
upb_Arena arena,
uint32_t  max_major,
uint32_t  max_minor,
uint32_t  min_major,
uint32_t  min_minor 
)

The first part of this file contains function signatures for de-serializing ALTS handshake requests and setting/serializing ALTS handshake responses, which simulate the behaviour of grpc server that runs ALTS handshaker service.

Definition at line 21 of file alts_handshaker_service_api_test_lib.cc.

◆ grpc_gcp_handshaker_resp_status_equals()

bool grpc_gcp_handshaker_resp_status_equals ( const grpc_gcp_HandshakerStatus l_status,
const grpc_gcp_HandshakerStatus r_status 
)

Definition at line 151 of file alts_handshaker_service_api_test_lib.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:02