Functions | Variables
third_party/boringssl-with-bazel/src/tool/client.cc File Reference
#include <openssl/base.h>
#include <stdio.h>
#include <sys/select.h>
#include <openssl/err.h>
#include <openssl/pem.h>
#include <openssl/ssl.h>
#include "../crypto/internal.h"
#include "internal.h"
#include "transport_common.h"
Include dependency graph for third_party/boringssl-with-bazel/src/tool/client.cc:

Go to the source code of this file.

Functions

bool Client (const std::vector< std::string > &args)
 
static bool DoConnection (SSL_CTX *ctx, std::map< std::string, std::string > args_map, bool(*cb)(SSL *ssl, int sock))
 
static void InfoCallback (const SSL *ssl, int type, int value)
 
static void KeyLogCallback (const SSL *ssl, const char *line)
 
static bssl::UniquePtr< EVP_PKEYLoadPrivateKey (const std::string &file)
 
static int NewSessionCallback (SSL *ssl, SSL_SESSION *session)
 
static int NextProtoSelectCallback (SSL *ssl, uint8_t **out, uint8_t *outlen, const uint8_t *in, unsigned inlen, void *arg)
 
static bool WaitForSession (SSL *ssl, int sock)
 

Variables

static FILE * g_keylog_file = nullptr
 
static const struct argument kArguments []
 
static bssl::UniquePtr< SSL_SESSIONresume_session
 
static bssl::UniquePtr< BIOsession_out
 

Function Documentation

◆ Client()

bool Client ( const std::vector< std::string > &  args)

◆ DoConnection()

static bool DoConnection ( SSL_CTX ctx,
std::map< std::string, std::string >  args_map,
bool(*)(SSL *ssl, int sock)  cb 
)
static

◆ InfoCallback()

static void InfoCallback ( const SSL ssl,
int  type,
int  value 
)
static

◆ KeyLogCallback()

static void KeyLogCallback ( const SSL ssl,
const char *  line 
)
static

◆ LoadPrivateKey()

static bssl::UniquePtr<EVP_PKEY> LoadPrivateKey ( const std::string &  file)
static

◆ NewSessionCallback()

static int NewSessionCallback ( SSL ssl,
SSL_SESSION session 
)
static

◆ NextProtoSelectCallback()

static int NextProtoSelectCallback ( SSL ssl,
uint8_t **  out,
uint8_t outlen,
const uint8_t in,
unsigned  inlen,
void *  arg 
)
static

◆ WaitForSession()

static bool WaitForSession ( SSL ssl,
int  sock 
)
static

Variable Documentation

◆ g_keylog_file

FILE* g_keylog_file = nullptr
static

◆ kArguments

const struct argument kArguments[]
static

◆ resume_session

bssl::UniquePtr<SSL_SESSION> resume_session
static

◆ session_out

bssl::UniquePtr<BIO> session_out
static


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