alts_handshaker_service_api_test_lib.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2018 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #ifndef GRPC_TEST_CORE_TSI_ALTS_HANDSHAKER_ALTS_HANDSHAKER_SERVICE_API_TEST_LIB_H
20 #define GRPC_TEST_CORE_TSI_ALTS_HANDSHAKER_ALTS_HANDSHAKER_SERVICE_API_TEST_LIB_H
21 
24 
32 /* This method sets peer_rpc_versions for ALTS handshaker response. */
35  uint32_t max_minor, uint32_t min_major, uint32_t min_minor);
36 
37 /* This method de-serializes ALTS handshaker request. */
39  upb_Arena* arena);
40 
41 /* This method checks equality of two ALTS handshaker responses. */
43  const grpc_gcp_HandshakerResp* r_resp);
44 
45 /* This method checks equality of two handshaker response results. */
47  const grpc_gcp_HandshakerResult* l_result,
48  const grpc_gcp_HandshakerResult* r_result);
49 
50 /* This method checks equality of two handshaker response statuses. */
52  const grpc_gcp_HandshakerStatus* l_status,
53  const grpc_gcp_HandshakerStatus* r_status);
54 
55 #endif // GRPC_TEST_CORE_TSI_ALTS_HANDSHAKER_ALTS_HANDSHAKER_SERVICE_API_TEST_LIB_H
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: alts_handshaker_service_api_test_lib.cc:120
grpc_gcp_HandshakerStatus
struct grpc_gcp_HandshakerStatus grpc_gcp_HandshakerStatus
Definition: handshaker.upb.h:45
arena
grpc_core::ScopedArenaPtr arena
Definition: binder_transport_test.cc:237
grpc_gcp_HandshakerReq
struct grpc_gcp_HandshakerReq grpc_gcp_HandshakerReq
Definition: handshaker.upb.h:43
uint32_t
unsigned int uint32_t
Definition: stdint-msvc2008.h:80
grpc_gcp_handshaker_resp_equals
bool grpc_gcp_handshaker_resp_equals(const grpc_gcp_HandshakerResp *l_resp, const grpc_gcp_HandshakerResp *r_resp)
Definition: alts_handshaker_service_api_test_lib.cc:105
grpc_gcp_HandshakerResp
struct grpc_gcp_HandshakerResp grpc_gcp_HandshakerResp
Definition: handshaker.upb.h:46
slice
grpc_slice slice
Definition: src/core/lib/surface/server.cc:467
http2_server_health_check.resp
resp
Definition: http2_server_health_check.py:31
grpc_slice
Definition: include/grpc/impl/codegen/slice.h:65
handshaker.upb.h
transport_security_common_api.h
grpc_gcp_HandshakerResult
struct grpc_gcp_HandshakerResult grpc_gcp_HandshakerResult
Definition: handshaker.upb.h:44
grpc_gcp_handshaker_req_decode
grpc_gcp_HandshakerReq * grpc_gcp_handshaker_req_decode(grpc_slice slice, upb_Arena *arena)
Definition: alts_handshaker_service_api_test_lib.cc:44
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)
Definition: alts_handshaker_service_api_test_lib.cc:21
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: alts_handshaker_service_api_test_lib.cc:151
upb_Arena
Definition: upb_internal.h:36


grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:41