Home
last modified time | relevance | path

Searched refs:tsi_peer_property (Results 1 – 13 of 13) sorted by relevance

/third_party/grpc/src/core/tsi/
Dtransport_security.h112 tsi_peer_property tsi_init_peer_property(void);
113 void tsi_peer_property_destruct(tsi_peer_property* property);
117 tsi_peer_property* property);
119 const char* name, size_t value_length, tsi_peer_property* property);
121 const char* name, const char* value, tsi_peer_property* property);
122 const tsi_peer_property* tsi_peer_get_property_by_name(const tsi_peer* peer,
Dtransport_security.cc283 tsi_peer_property tsi_init_peer_property(void) { in tsi_init_peer_property()
284 tsi_peer_property property; in tsi_init_peer_property()
285 memset(&property, 0, sizeof(tsi_peer_property)); in tsi_init_peer_property()
289 static void tsi_peer_destroy_list_property(tsi_peer_property* children, in tsi_peer_destroy_list_property()
298 void tsi_peer_property_destruct(tsi_peer_property* property) { in tsi_peer_property_destruct()
318 const char* name, size_t value_length, tsi_peer_property* property) { in tsi_construct_allocated_string_peer_property()
329 const char* name, const char* value, tsi_peer_property* property) { in tsi_construct_string_peer_property_from_cstring()
337 tsi_peer_property* property) { in tsi_construct_string_peer_property()
350 peer->properties = static_cast<tsi_peer_property*>( in tsi_construct_peer()
351 gpr_zalloc(property_count * sizeof(tsi_peer_property))); in tsi_construct_peer()
[all …]
Dtransport_security_interface.h208 typedef struct tsi_peer_property { struct
214 } tsi_peer_property; argument
217 tsi_peer_property* properties;
Dssl_transport_security.h363 tsi_peer_property* property);
Dssl_transport_security.cc305 X509* cert, tsi_peer_property* property) { in peer_property_from_x509_common_name()
327 static tsi_result add_pem_certificate(X509* cert, tsi_peer_property* property) { in add_pem_certificate()
1202 tsi_peer_property* property) { in tsi_ssl_get_cert_chain_contents()
1254 tsi_peer_property* new_properties = static_cast<tsi_peer_property*>( in ssl_handshaker_result_extract_peer()
2186 const tsi_peer_property* cn_property = nullptr; in tsi_ssl_peer_matches_name()
2191 const tsi_peer_property* property = &peer->properties[i]; in tsi_ssl_peer_matches_name()
/third_party/grpc/src/core/lib/security/security_connector/alts/
Dalts_security_connector.cc188 const tsi_peer_property* cert_type_prop = in grpc_alts_auth_context_from_tsi_peer()
197 const tsi_peer_property* security_level_prop = in grpc_alts_auth_context_from_tsi_peer()
204 const tsi_peer_property* rpc_versions_prop = in grpc_alts_auth_context_from_tsi_peer()
229 const tsi_peer_property* alts_context_prop = in grpc_alts_auth_context_from_tsi_peer()
242 const tsi_peer_property* tsi_prop = &peer->properties[i]; in grpc_alts_auth_context_from_tsi_peer()
/third_party/grpc/test/core/tsi/
Dssl_transport_security_test.cc187 const tsi_peer_property* alpn_property = in check_alpn()
200 const tsi_peer_property* security_level = in check_security_level()
208 static const tsi_peer_property*
210 const tsi_peer_property* cert_type_property = in check_basic_authenticated_peer_and_get_common_name()
215 const tsi_peer_property* property = tsi_peer_get_property_by_name( in check_basic_authenticated_peer_and_get_common_name()
223 const tsi_peer_property* session_reused = in check_session_reusage()
236 const tsi_peer_property* property = in check_server0_peer()
258 const tsi_peer_property* prop = &peer->properties[i]; in check_subject_alt_name()
272 const tsi_peer_property* prop = &peer->properties[i]; in check_uri()
284 const tsi_peer_property* property = in check_server1_peer()
[all …]
Dfake_transport_security_test.cc48 const tsi_peer_property* property = in validate_handshaker_peers()
/third_party/grpc/src/core/lib/security/security_connector/
Dssl_utils.cc156 const tsi_peer_property* p = in grpc_ssl_check_alpn()
276 const tsi_peer_property* prop = &peer->properties[i]; in grpc_ssl_peer_to_auth_context()
338 tsi_peer_property* tsi_prop = &peer->properties[peer->property_count++]; in add_shallow_auth_property_to_peer()
356 peer.properties = static_cast<tsi_peer_property*>( in grpc_shallow_peer_from_ssl_auth_context()
357 gpr_malloc(max_num_props * sizeof(tsi_peer_property))); in grpc_shallow_peer_from_ssl_auth_context()
/third_party/grpc/src/core/lib/security/security_connector/local/
Dlocal_security_connector.cc60 const tsi_peer_property* prop = &peer->properties[0]; in local_auth_context_create()
115 tsi_peer_property* new_properties = static_cast<tsi_peer_property*>( in local_check_peer()
/third_party/grpc/src/core/lib/security/security_connector/tls/
Dtls_security_connector.cc230 const tsi_peer_property* p = in check_peer()
247 const tsi_peer_property* chain = tsi_peer_get_property_by_name( in check_peer()
263 const tsi_peer_property* prop = &peer.properties[i]; in check_peer()
/third_party/grpc/test/core/security/
Dsecurity_connector_test.cc57 const tsi_peer_property* expected) { in check_peer_property()
60 const tsi_peer_property* prop = &peer->properties[i]; in check_peer_property()
76 const tsi_peer_property* prop = &original->properties[i]; in check_ssl_peer_equivalence()
/third_party/grpc/src/core/lib/security/security_connector/ssl/
Dssl_security_connector.cc151 const tsi_peer_property* p = in check_peer()