Classes | Functions | Variables
h2_fakesec.cc File Reference
#include <stdio.h>
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/gprpp/host_port.h"
#include "src/core/lib/security/credentials/fake/fake_credentials.h"
#include "test/core/end2end/end2end_tests.h"
#include "test/core/util/port.h"
#include "test/core/util/test_config.h"
Include dependency graph for h2_fakesec.cc:

Go to the source code of this file.

Classes

struct  fullstack_secure_fixture_data
 

Functions

static grpc_end2end_test_fixture chttp2_create_fixture_secure_fullstack (const grpc_channel_args *, const grpc_channel_args *)
 
static void chttp2_init_client_fake_secure_fullstack (grpc_end2end_test_fixture *f, const grpc_channel_args *client_args)
 
static void chttp2_init_client_secure_fullstack (grpc_end2end_test_fixture *f, const grpc_channel_args *client_args, grpc_channel_credentials *creds)
 
static void chttp2_init_server_fake_secure_fullstack (grpc_end2end_test_fixture *f, const grpc_channel_args *server_args)
 
static void chttp2_init_server_secure_fullstack (grpc_end2end_test_fixture *f, const grpc_channel_args *server_args, grpc_server_credentials *server_creds)
 
void chttp2_tear_down_secure_fullstack (grpc_end2end_test_fixture *f)
 
static int fail_server_auth_check (const grpc_channel_args *server_args)
 
int main (int argc, char **argv)
 
static void process_auth_failure (void *state, grpc_auth_context *, const grpc_metadata *, size_t, grpc_process_auth_metadata_done_cb cb, void *user_data)
 

Variables

static grpc_end2end_test_config configs []
 

Function Documentation

◆ chttp2_create_fixture_secure_fullstack()

static grpc_end2end_test_fixture chttp2_create_fixture_secure_fullstack ( const grpc_channel_args ,
const grpc_channel_args  
)
static

Definition at line 36 of file h2_fakesec.cc.

◆ chttp2_init_client_fake_secure_fullstack()

static void chttp2_init_client_fake_secure_fullstack ( grpc_end2end_test_fixture f,
const grpc_channel_args client_args 
)
static

Definition at line 92 of file h2_fakesec.cc.

◆ chttp2_init_client_secure_fullstack()

static void chttp2_init_client_secure_fullstack ( grpc_end2end_test_fixture f,
const grpc_channel_args client_args,
grpc_channel_credentials creds 
)
static

Definition at line 60 of file h2_fakesec.cc.

◆ chttp2_init_server_fake_secure_fullstack()

static void chttp2_init_server_fake_secure_fullstack ( grpc_end2end_test_fixture f,
const grpc_channel_args server_args 
)
static

Definition at line 111 of file h2_fakesec.cc.

◆ chttp2_init_server_secure_fullstack()

static void chttp2_init_server_secure_fullstack ( grpc_end2end_test_fixture f,
const grpc_channel_args server_args,
grpc_server_credentials server_creds 
)
static

Definition at line 70 of file h2_fakesec.cc.

◆ chttp2_tear_down_secure_fullstack()

void chttp2_tear_down_secure_fullstack ( grpc_end2end_test_fixture f)

Definition at line 86 of file h2_fakesec.cc.

◆ fail_server_auth_check()

static int fail_server_auth_check ( const grpc_channel_args server_args)
static

Definition at line 99 of file h2_fakesec.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 138 of file h2_fakesec.cc.

◆ process_auth_failure()

static void process_auth_failure ( void *  state,
grpc_auth_context ,
const grpc_metadata ,
size_t  ,
grpc_process_auth_metadata_done_cb  cb,
void *  user_data 
)
static

Definition at line 51 of file h2_fakesec.cc.

Variable Documentation

◆ configs

grpc_end2end_test_config configs[]
static
FEATURE_MASK_SUPPORTS_AUTHORITY_HEADER
#define FEATURE_MASK_SUPPORTS_AUTHORITY_HEADER
Definition: end2end_tests.h:38
FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS_LEVEL_INSECURE
#define FEATURE_MASK_SUPPORTS_PER_CALL_CREDENTIALS_LEVEL_INSECURE
Definition: end2end_tests.h:35
chttp2_tear_down_secure_fullstack
void chttp2_tear_down_secure_fullstack(grpc_end2end_test_fixture *f)
Definition: h2_fakesec.cc:86
FEATURE_MASK_SUPPORTS_DELAYED_CONNECTION
#define FEATURE_MASK_SUPPORTS_DELAYED_CONNECTION
Definition: end2end_tests.h:28
chttp2_init_client_fake_secure_fullstack
static void chttp2_init_client_fake_secure_fullstack(grpc_end2end_test_fixture *f, const grpc_channel_args *client_args)
Definition: h2_fakesec.cc:92
chttp2_create_fixture_secure_fullstack
static grpc_end2end_test_fixture chttp2_create_fixture_secure_fullstack(const grpc_channel_args *, const grpc_channel_args *)
Definition: h2_fakesec.cc:36
chttp2_init_server_fake_secure_fullstack
static void chttp2_init_server_fake_secure_fullstack(grpc_end2end_test_fixture *f, const grpc_channel_args *server_args)
Definition: h2_fakesec.cc:111
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL
#define FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL
Definition: end2end_tests.h:37


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:19