Home
last modified time | relevance | path

Searched refs:tsi_prop (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/alts/
Dalts_security_connector.cc252 const tsi_peer_property* tsi_prop = &peer->properties[i]; in grpc_alts_auth_context_from_tsi_peer() local
254 if (strcmp(tsi_prop->name, TSI_ALTS_SERVICE_ACCOUNT_PEER_PROPERTY) == 0) { in grpc_alts_auth_context_from_tsi_peer()
257 tsi_prop->value.data, tsi_prop->value.length); in grpc_alts_auth_context_from_tsi_peer()
262 if (strcmp(tsi_prop->name, TSI_ALTS_CONTEXT) == 0) { in grpc_alts_auth_context_from_tsi_peer()
264 tsi_prop->value.data, in grpc_alts_auth_context_from_tsi_peer()
265 tsi_prop->value.length); in grpc_alts_auth_context_from_tsi_peer()
268 if (strcmp(tsi_prop->name, TSI_SECURITY_LEVEL_PEER_PROPERTY) == 0) { in grpc_alts_auth_context_from_tsi_peer()
271 tsi_prop->value.data, tsi_prop->value.length); in grpc_alts_auth_context_from_tsi_peer()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dalts_security_connector.cc156 const tsi_peer_property* tsi_prop = &peer->properties[i]; in grpc_alts_auth_context_from_tsi_peer() local
158 if (strcmp(tsi_prop->name, TSI_ALTS_SERVICE_ACCOUNT_PEER_PROPERTY) == 0) { in grpc_alts_auth_context_from_tsi_peer()
160 *ctx, TSI_ALTS_SERVICE_ACCOUNT_PEER_PROPERTY, tsi_prop->value.data, in grpc_alts_auth_context_from_tsi_peer()
161 tsi_prop->value.length); in grpc_alts_auth_context_from_tsi_peer()
Dsecurity_connector.cc959 tsi_peer_property* tsi_prop = &peer->properties[peer->property_count++]; local
960 tsi_prop->name = const_cast<char*>(tsi_prop_name);
961 tsi_prop->value.data = prop->value;
962 tsi_prop->value.length = prop->value_length;
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/
Dssl_utils.cc349 tsi_peer_property* tsi_prop = &peer->properties[peer->property_count++]; in add_shallow_auth_property_to_peer() local
350 tsi_prop->name = const_cast<char*>(tsi_prop_name); in add_shallow_auth_property_to_peer()
351 tsi_prop->value.data = prop->value; in add_shallow_auth_property_to_peer()
352 tsi_prop->value.length = prop->value_length; in add_shallow_auth_property_to_peer()