#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"
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_list * | name_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 [] |
std::string cert_name_test_entry_to_string | ( | const cert_name_test_entry * | entry | ) |
Definition at line 298 of file transport_security_test.cc.
|
static |
Definition at line 239 of file transport_security_test.cc.
Definition at line 382 of file transport_security_test.cc.
Definition at line 210 of file transport_security_test.cc.
|
static |
Definition at line 217 of file transport_security_test.cc.
|
static |
Definition at line 260 of file transport_security_test.cc.
|
static |
Definition at line 249 of file transport_security_test.cc.
|
static |
Definition at line 358 of file transport_security_test.cc.
|
static |
Definition at line 372 of file transport_security_test.cc.
|
static |
Definition at line 307 of file transport_security_test.cc.
|
static |
Definition at line 349 of file transport_security_test.cc.
|
static |
Definition at line 326 of file transport_security_test.cc.
const cert_name_test_entry cert_name_test_entries[] |
Definition at line 60 of file transport_security_test.cc.