Go to the source code of this file.
|
| TEST (sslctx_ut, create_config) |
|
| TEST (sslctx_ut, config_new_factory_server) |
|
| TEST (sslctx_ut, config_new_factory_client) |
|
template<typename T > |
void | do_write (T &obj, const bool server, char *msg, const size_t len, long &count, const int iter) |
|
template<typename T > |
void | do_read (T &obj, const bool server, char *msg, const size_t len, long &count, const int iter) |
|
static bool | xfer_oneway (SSLAPI &sender, SSLAPI &recv, std::string out) |
|
static void | xfer (SSLAPI &cli, SSLAPI &serv) |
|
static auto | MakeClient (Frame::Ptr frame, const std::string &pvt_key, const std::string &cert, const std::string &ca="") |
|
static auto | MakeServer (Frame::Ptr frame, const std::string &pvt_key, const std::string &cert) |
|
| TEST (sslctx_ut, handshake) |
|
| TEST (sslctx_ut, ca_handshake) |
|
| TEST (sslctx_ut, handshake_fail) |
|
| TEST (sslctx_ut, clienthello) |
|
◆ ITER
◆ ITER_OUT_LIMIT
#define ITER_OUT_LIMIT 1000 |
◆ do_read()
template<typename T >
void do_read |
( |
T & |
obj, |
|
|
const bool |
server, |
|
|
char * |
msg, |
|
|
const size_t |
len, |
|
|
long & |
count, |
|
|
const int |
iter |
|
) |
| |
|
inline |
◆ do_write()
template<typename T >
void do_write |
( |
T & |
obj, |
|
|
const bool |
server, |
|
|
char * |
msg, |
|
|
const size_t |
len, |
|
|
long & |
count, |
|
|
const int |
iter |
|
) |
| |
|
inline |
◆ MakeClient()
static auto MakeClient |
( |
Frame::Ptr |
frame, |
|
|
const std::string & |
pvt_key, |
|
|
const std::string & |
cert, |
|
|
const std::string & |
ca = "" |
|
) |
| |
|
inlinestatic |
◆ MakeServer()
static auto MakeServer |
( |
Frame::Ptr |
frame, |
|
|
const std::string & |
pvt_key, |
|
|
const std::string & |
cert |
|
) |
| |
|
inlinestatic |
◆ TEST() [1/7]
TEST |
( |
sslctx_ut |
, |
|
|
ca_handshake |
|
|
) |
| |
◆ TEST() [2/7]
TEST |
( |
sslctx_ut |
, |
|
|
clienthello |
|
|
) |
| |
◆ TEST() [3/7]
TEST |
( |
sslctx_ut |
, |
|
|
config_new_factory_client |
|
|
) |
| |
◆ TEST() [4/7]
TEST |
( |
sslctx_ut |
, |
|
|
config_new_factory_server |
|
|
) |
| |
◆ TEST() [5/7]
TEST |
( |
sslctx_ut |
, |
|
|
create_config |
|
|
) |
| |
◆ TEST() [6/7]
TEST |
( |
sslctx_ut |
, |
|
|
handshake |
|
|
) |
| |
◆ TEST() [7/7]
TEST |
( |
sslctx_ut |
, |
|
|
handshake_fail |
|
|
) |
| |
◆ xfer()
◆ xfer_oneway()
static bool xfer_oneway |
( |
SSLAPI & |
sender, |
|
|
SSLAPI & |
recv, |
|
|
std::string |
out |
|
) |
| |
|
inlinestatic |
◆ cert_txt
const std::string cert_txt |
◆ certcrl_txt
const std::string certcrl_txt |
◆ dhparam_txt
const std::string dhparam_txt |
Initial value:= R"(-----BEGIN DH PARAMETERS-----
MIIBDAKCAQEA9WXZvihl5pltdS4C+Dc+Ki3KOuH0aBfSzmth/B3O0+oTN3CZXAak
WyK6dCCtXeBZ3ih3eNVO69BgoNVdbxuPIUWxo3EWFt6LteASgkjCEyTmrNd/aKAE
pS06RgsZcWs/Ps9iwcVFyE6kMi9Cbf3D2wwJT50kJmkEov+4cOH3NQVpS231I58x
rHMEMtNDFcJYCAEIG3cKqfX9unAgZUsDoLtyvfgvHV29koZxnmMt0+5f0qnezcnP
I/+4kAlXuAKdhsXohHeBhC2ijg/kTOMDxEbEVv+SkCIUyM+dB8UtlPKOH9HEL5Xi
+BpDSqO6Bha5+NAVUU7OdDsnzRwSWaD6lwIBAgICAOE=
-----END DH PARAMETERS-----)"
Definition at line 230 of file test_sslctx.cpp.
◆ fail_cert_txt
const std::string fail_cert_txt |
◆ fail_pvt_key_txt
const std::string fail_pvt_key_txt |
◆ pvt_key_txt
const std::string pvt_key_txt |