#include <grpc/support/port_platform.h>
#include "src/core/lib/security/security_connector/insecure/insecure_security_connector.h"
#include <string.h>
#include <grpc/grpc_security_constants.h>
#include <grpc/support/log.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/debug_location.h"
#include "src/core/lib/gprpp/ref_counted_ptr.h"
#include "src/core/lib/iomgr/exec_ctx.h"
#include "src/core/lib/promise/promise.h"
#include "src/core/lib/security/context/security_context.h"
#include "src/core/lib/security/transport/security_handshaker.h"
#include "src/core/tsi/local_transport_security.h"
namespace grpc_core {
const char kInsecureTransportSecurityType[] = …;
namespace {
RefCountedPtr<grpc_auth_context> MakeAuthContext() { … }
}
RefCountedPtr<grpc_auth_context> TestOnlyMakeInsecureAuthContext() { … }
ArenaPromise<absl::Status> InsecureChannelSecurityConnector::CheckCallHost(
absl::string_view, grpc_auth_context*) { … }
void InsecureChannelSecurityConnector::add_handshakers(
const ChannelArgs& args, grpc_pollset_set* ,
HandshakeManager* handshake_manager) { … }
void InsecureChannelSecurityConnector::check_peer(
tsi_peer peer, grpc_endpoint* , const ChannelArgs& ,
RefCountedPtr<grpc_auth_context>* auth_context,
grpc_closure* on_peer_checked) { … }
int InsecureChannelSecurityConnector::cmp(
const grpc_security_connector* other_sc) const { … }
void InsecureServerSecurityConnector::add_handshakers(
const ChannelArgs& args, grpc_pollset_set* ,
HandshakeManager* handshake_manager) { … }
void InsecureServerSecurityConnector::check_peer(
tsi_peer peer, grpc_endpoint* , const ChannelArgs& ,
RefCountedPtr<grpc_auth_context>* auth_context,
grpc_closure* on_peer_checked) { … }
int InsecureServerSecurityConnector::cmp(
const grpc_security_connector* other) const { … }
}