Home
last modified time | relevance | path

Searched refs:peer_identity (Results 1 – 17 of 17) sorted by relevance

/external/grpc-grpc/test/cpp/common/
Dsecure_auth_context_test.cc52 std::vector<grpc::string_ref> peer_identity = context.GetPeerIdentity(); in TEST_F() local
53 EXPECT_EQ(2u, peer_identity.size()); in TEST_F()
54 EXPECT_EQ("chapi", ToString(peer_identity[0])); in TEST_F()
55 EXPECT_EQ("chapo", ToString(peer_identity[1])); in TEST_F()
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/
Dalts_tsi_handshaker.cc75 char* peer_identity; member
114 TSI_ALTS_SERVICE_ACCOUNT_PEER_PROPERTY, result->peer_identity, in handshaker_result_extract_peer()
240 gpr_free(result->peer_identity); in handshaker_result_destroy()
313 sresult->peer_identity = in alts_tsi_handshaker_result_create()
315 memcpy(sresult->peer_identity, peer_service_account.data, in alts_tsi_handshaker_result_create()
337 grpc_gcp_Identity* peer_identity = const_cast<grpc_gcp_Identity*>(identity); in alts_tsi_handshaker_result_create() local
338 if (peer_identity == nullptr) { in alts_tsi_handshaker_result_create()
345 grpc_gcp_Identity_attributes_nextmutable(peer_identity, &iter); in alts_tsi_handshaker_result_create()
356 grpc_gcp_Identity_attributes_nextmutable(peer_identity, &iter); in alts_tsi_handshaker_result_create()
/external/grpc-grpc/src/core/tsi/alts/handshaker/
Dhandshaker.pb.c76 …PB_FIELD( 4, MESSAGE , OPTIONAL, STATIC , OTHER, grpc_gcp_HandshakerResult, peer_identity, key_d…
77 …OPTIONAL, STATIC , OTHER, grpc_gcp_HandshakerResult, local_identity, peer_identity, &grpc_gcp_Ide…
107 …dshakerReq, next) < 65536 && pb_membersize(grpc_gcp_HandshakerResult, peer_identity) < 65536 && pb…
118 …andshakerReq, next) < 256 && pb_membersize(grpc_gcp_HandshakerResult, peer_identity) < 256 && pb_m…
Dalts_tsi_handshaker.cc61 char* peer_identity; member
97 TSI_ALTS_SERVICE_ACCOUNT_PEER_PROPERTY, result->peer_identity, in handshaker_result_extract_peer()
183 gpr_free(result->peer_identity); in handshaker_result_destroy()
206 static_cast<grpc_slice*>(resp->result.peer_identity.service_account.arg); in create_handshaker_result()
221 result->peer_identity = grpc_slice_to_c_string(*identity); in create_handshaker_result()
Dalts_handshaker_service_api.cc485 static_cast<grpc_slice*>(resp->result.peer_identity.hostname.arg)); in grpc_gcp_handshaker_resp_destroy()
487 resp->result.peer_identity.service_account.arg)); in grpc_gcp_handshaker_resp_destroy()
509 resp->result.peer_identity.hostname.funcs.decode = decode_string_or_bytes_cb; in grpc_gcp_handshaker_resp_decode()
510 resp->result.peer_identity.service_account.funcs.decode = in grpc_gcp_handshaker_resp_decode()
Dhandshaker.pb.h68 grpc_gcp_Identity peer_identity; member
/external/grpc-grpc/src/core/ext/filters/load_reporting/
Dserver_load_reporting_filter.cc91 {chand->peer_identity(), chand->peer_identity_len()}}, in Destroy()
264 {chand->peer_identity(), chand->peer_identity_len()}}}); in RecvInitialMetadataReady()
307 {chand->peer_identity(), chand->peer_identity_len()}}, in SendTrailingMetadataFilter()
Dserver_load_reporting_filter.h35 const char* peer_identity() { return peer_identity_; } in peer_identity() function
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/load_reporting/
Dserver_load_reporting_filter.cc97 {chand->peer_identity(), chand->peer_identity_len()}}, in Destroy()
260 {chand->peer_identity(), chand->peer_identity_len()}}}); in RecvInitialMetadataReady()
304 {chand->peer_identity(), chand->peer_identity_len()}}, in SendTrailingMetadataFilter()
Dserver_load_reporting_filter.h37 const char* peer_identity() { return peer_identity_; } in peer_identity() function
/external/grpc-grpc/test/core/tsi/alts/handshaker/
Dalts_handshaker_service_api_test_lib.cc166 set_identity_hostname(&resp->result.peer_identity, hostname); in grpc_gcp_handshaker_resp_set_peer_identity_hostname()
180 set_identity_service_account(&resp->result.peer_identity, service_account); in grpc_gcp_handshaker_resp_set_peer_identity_service_account()
607 result &= handshaker_identity_equals(&l_result->peer_identity, in grpc_gcp_handshaker_resp_result_equals()
608 &r_result->peer_identity); in grpc_gcp_handshaker_resp_result_equals()
/external/rust/crates/grpcio/src/
Dauth_context.rs59 pub fn peer_identity(&self) -> AuthPropertyIter { in peer_identity() method
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/proto/
Dhandshaker.proto171 Identity peer_identity = 4; field
/external/grpc-grpc-java/alts/src/main/proto/grpc/gcp/
Dhandshaker.proto171 Identity peer_identity = 4; field
/external/grpc-grpc/test/core/tsi/alts/fake_handshaker/
Dhandshaker.proto171 Identity peer_identity = 4; field
/external/grpc-grpc/src/core/tsi/alts/handshaker/proto/
Dhandshaker.proto171 Identity peer_identity = 4; field
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/gcp/
Dhandshaker.proto187 Identity peer_identity = 4; field