Classes | Typedefs | Functions | Variables
transport_security_test.cc File Reference
#include "src/core/tsi/transport_security.h"
#include <string.h>
#include <string>
#include <openssl/crypto.h>
#include "absl/strings/str_format.h"
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "src/core/lib/gpr/useful.h"
#include "src/core/tsi/fake_transport_security.h"
#include "src/core/tsi/ssl_transport_security.h"
#include "test/core/util/test_config.h"
Include dependency graph for transport_security_test.cc:

Go to the source code of this file.

Classes

struct  cert_name_test_entry
 
struct  name_list
 
struct  parsed_names
 
struct  tsi_result_string_pair
 

Typedefs

typedef struct name_list name_list
 

Functions

std::string cert_name_test_entry_to_string (const cert_name_test_entry *entry)
 
static void destruct_parsed_names (parsed_names *pdn)
 
int main (int argc, char **argv)
 
name_listname_list_add (const char *n)
 
static parsed_names parse_names (const char *names_str)
 
static tsi_peer peer_from_cert_name_test_entry (const cert_name_test_entry *entry)
 
static char * processed_name (const char *name)
 
static void test_handshaker_invalid_args (void)
 
static void test_handshaker_invalid_state (void)
 
static void test_peer_matches_name (void)
 
static void test_protector_invalid_args (void)
 
static void test_result_strings (void)
 

Variables

const cert_name_test_entry cert_name_test_entries []
 

Typedef Documentation

◆ name_list

typedef struct name_list name_list

Function Documentation

◆ cert_name_test_entry_to_string()

std::string cert_name_test_entry_to_string ( const cert_name_test_entry entry)

Definition at line 298 of file transport_security_test.cc.

◆ destruct_parsed_names()

static void destruct_parsed_names ( parsed_names pdn)
static

Definition at line 239 of file transport_security_test.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 382 of file transport_security_test.cc.

◆ name_list_add()

name_list* name_list_add ( const char *  n)

Definition at line 210 of file transport_security_test.cc.

◆ parse_names()

static parsed_names parse_names ( const char *  names_str)
static

Definition at line 217 of file transport_security_test.cc.

◆ peer_from_cert_name_test_entry()

static tsi_peer peer_from_cert_name_test_entry ( const cert_name_test_entry entry)
static

Definition at line 260 of file transport_security_test.cc.

◆ processed_name()

static char* processed_name ( const char *  name)
static

Definition at line 249 of file transport_security_test.cc.

◆ test_handshaker_invalid_args()

static void test_handshaker_invalid_args ( void  )
static

Definition at line 358 of file transport_security_test.cc.

◆ test_handshaker_invalid_state()

static void test_handshaker_invalid_state ( void  )
static

Definition at line 372 of file transport_security_test.cc.

◆ test_peer_matches_name()

static void test_peer_matches_name ( void  )
static

Definition at line 307 of file transport_security_test.cc.

◆ test_protector_invalid_args()

static void test_protector_invalid_args ( void  )
static

Definition at line 349 of file transport_security_test.cc.

◆ test_result_strings()

static void test_result_strings ( void  )
static

Definition at line 326 of file transport_security_test.cc.

Variable Documentation

◆ cert_name_test_entries

const cert_name_test_entry cert_name_test_entries[]

Definition at line 60 of file transport_security_test.cc.



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