Home
last modified time | relevance | path

Searched refs:security_level (Results 1 – 16 of 16) sorted by relevance

/third_party/grpc/src/core/lib/security/security_connector/insecure/
Dinsecure_security_connector.cc38 const char* security_level = tsi_security_level_to_string(TSI_SECURITY_NONE); in MakeAuthContext() local
41 security_level, strlen(security_level)); in MakeAuthContext()
/third_party/grpc/src/core/lib/security/security_connector/
Dssl_utils.cc94 const char* security_level) { in grpc_tsi_security_level_string_to_enum() argument
95 if (strcmp(security_level, "TSI_INTEGRITY_ONLY") == 0) { in grpc_tsi_security_level_string_to_enum()
97 } else if (strcmp(security_level, "TSI_PRIVACY_AND_INTEGRITY") == 0) { in grpc_tsi_security_level_string_to_enum()
103 const char* grpc_security_level_to_string(grpc_security_level security_level) { in grpc_security_level_to_string() argument
104 if (security_level == GRPC_PRIVACY_AND_INTEGRITY) { in grpc_security_level_to_string()
106 } else if (security_level == GRPC_INTEGRITY_ONLY) { in grpc_security_level_to_string()
Dssl_utils.h74 const char* security_level);
80 const char* grpc_security_level_to_string(grpc_security_level security_level);
/third_party/grpc/include/grpcpp/security/
Dalts_context.h52 grpc_security_level security_level() const;
/third_party/grpc/src/core/lib/security/security_connector/local/
Dlocal_security_connector.cc123 const char* security_level = in local_check_peer() local
126 TSI_SECURITY_LEVEL_PEER_PROPERTY, security_level, in local_check_peer()
/third_party/grpc/test/cpp/common/
Dalts_util_test.cc112 EXPECT_EQ(expected_sl, alts_context->security_level()); in TEST()
152 EXPECT_EQ(GRPC_SECURITY_NONE, alts_context->security_level()); in TEST()
/third_party/grpc/src/core/tsi/alts/handshaker/proto/
Daltscontext.proto31 SecurityLevel security_level = 3; field
/third_party/grpc/src/core/tsi/
Dtransport_security.cc70 const char* tsi_security_level_to_string(tsi_security_level security_level) { in tsi_security_level_to_string() argument
71 switch (security_level) { in tsi_security_level_to_string()
Dtransport_security_interface.h73 const char* tsi_security_level_to_string(tsi_security_level security_level);
/third_party/grpc/src/proto/grpc/gcp/
Daltscontext.proto37 SecurityLevel security_level = 3; field
/third_party/grpc/src/cpp/common/
Dalts_context.cc114 grpc_security_level AltsContext::security_level() const { in security_level() function in grpc::experimental::AltsContext
/third_party/grpc/test/core/tsi/
Dssl_transport_security_test.cc200 const tsi_peer_property* security_level = in check_security_level() local
202 GPR_ASSERT(security_level != nullptr); in check_security_level()
204 GPR_ASSERT(memcmp(security_level->value.data, expected_match, in check_security_level()
205 security_level->value.length) == 0); in check_security_level()
/third_party/python/Lib/test/
Dcfgparser.289 # security_level.txt for details.
Dtest_ssl.py1332 self.assertIn(ctx.security_level, security_level_range)
/third_party/python/Misc/NEWS.d/
D3.10.0a1.rst1667 Add read-only ssl.SSLContext.security_level attribute to retrieve the
/third_party/python/Doc/library/
Dssl.rst2053 .. attribute:: SSLContext.security_level