Lines Matching full:ssl_ctx
243 SSL *SSL_new(SSL_CTX *ctx) {
366 int SSL_CTX_set_session_id_context(SSL_CTX *ctx, const uint8_t *sid_ctx,
392 int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb) {
425 int SSL_CTX_set_purpose(SSL_CTX *s, int purpose) {
433 int SSL_CTX_set_trust(SSL_CTX *s, int trust) {
441 int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm) {
514 X509_VERIFY_PARAM *SSL_CTX_get0_param(SSL_CTX *ctx) { return ctx->param; }
731 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx) { return ctx->verify_mode; }
733 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx) {
737 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int, X509_STORE_CTX *) {
753 int SSL_CTX_get_read_ahead(const SSL_CTX *ctx) { return 0; }
757 void SSL_CTX_set_read_ahead(SSL_CTX *ctx, int yes) { }
801 int SSL_CTX_check_private_key(const SSL_CTX *ctx) {
989 uint32_t SSL_CTX_set_options(SSL_CTX *ctx, uint32_t options) {
999 uint32_t SSL_CTX_clear_options(SSL_CTX *ctx, uint32_t options) {
1009 uint32_t SSL_CTX_get_options(const SSL_CTX *ctx) { return ctx->options; }
1013 uint32_t SSL_CTX_set_mode(SSL_CTX *ctx, uint32_t mode) {
1023 uint32_t SSL_CTX_clear_mode(SSL_CTX *ctx, uint32_t mode) {
1033 uint32_t SSL_CTX_get_mode(const SSL_CTX *ctx) { return ctx->mode; }
1037 size_t SSL_CTX_get_max_cert_list(const SSL_CTX *ctx) {
1041 void SSL_CTX_set_max_cert_list(SSL_CTX *ctx, size_t max_cert_list) {
1059 void SSL_CTX_set_max_send_fragment(SSL_CTX *ctx, size_t max_send_fragment) {
1095 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx) { return ctx->sessions; }
1097 size_t SSL_CTX_sess_number(const SSL_CTX *ctx) {
1101 unsigned long SSL_CTX_sess_set_cache_size(SSL_CTX *ctx, unsigned long size) {
1107 unsigned long SSL_CTX_sess_get_cache_size(const SSL_CTX *ctx) {
1111 int SSL_CTX_set_session_cache_mode(SSL_CTX *ctx, int mode) {
1117 int SSL_CTX_get_session_cache_mode(const SSL_CTX *ctx) {
1121 long SSL_CTX_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg) {
1188 /* specify the ciphers to be used by default by the SSL_CTX */
1189 int SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str) {
1209 int SSL_CTX_set_cipher_list_tls11(SSL_CTX *ctx, const char *str) {
1373 void SSL_CTX_enable_signed_cert_timestamps(SSL_CTX *ctx) {
1382 void SSL_CTX_enable_ocsp_stapling(SSL_CTX *ctx) {
1509 SSL_CTX *ctx,
1527 SSL_CTX *ctx, int (*cb)(SSL *s, uint8_t **out, uint8_t *outlen,
1534 int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const uint8_t *protos,
1560 void SSL_CTX_set_alpn_select_cb(SSL_CTX *ctx,
1625 SSL_CTX *SSL_CTX_new(const SSL_METHOD *method) {
1626 SSL_CTX *ret = NULL;
1638 ret = (SSL_CTX *)OPENSSL_malloc(sizeof(SSL_CTX));
1643 memset(ret, 0, sizeof(SSL_CTX));
1738 /* Lock the SSL_CTX to the specified version, for compatibility with legacy
1754 void SSL_CTX_free(SSL_CTX *ctx) {
1763 * ex_data of SSL_CTX, thus the ex_data store can only be removed after the
1792 void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb) {
1796 void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *u) {
1800 void SSL_CTX_set_cert_verify_callback(SSL_CTX *ctx,
1807 void SSL_CTX_set_verify(SSL_CTX *ctx, int mode,
1813 void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth) {
1817 void SSL_CTX_set_cert_cb(SSL_CTX *c, int (*cb)(SSL *ssl, void *arg),
1978 SSL_CTX *ctx = s->initial_ctx;
2202 X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx) {
2210 EVP_PKEY *SSL_CTX_get0_privatekey(const SSL_CTX *ctx) {
2278 void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx, int mode) {
2282 int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx) {
2296 SSL_CTX
2298 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx) {
2321 int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx) {
2325 int SSL_CTX_load_verify_locations(SSL_CTX *ctx, const char *CAfile,
2377 int SSL_CTX_set_ex_data(SSL_CTX *s, int idx, void *arg) {
2381 void *SSL_CTX_get_ex_data(const SSL_CTX *s, int idx) {
2385 X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *ctx) {
2389 void SSL_CTX_set_cert_store(SSL_CTX *ctx, X509_STORE *store) {
2396 void SSL_CTX_set_tmp_rsa_callback(SSL_CTX *ctx,
2405 void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx,
2416 void SSL_CTX_set_tmp_ecdh_callback(SSL_CTX *ctx,
2428 int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx, const char *identity_hint) {
2497 SSL_CTX *ctx, unsigned int (*cb)(SSL *ssl, const char *hint, char *identity,
2510 SSL_CTX *ctx, unsigned int (*cb)(SSL *ssl, const char *identity,
2515 void SSL_CTX_set_min_version(SSL_CTX *ctx, uint16_t version) {
2519 void SSL_CTX_set_max_version(SSL_CTX *ctx, uint16_t version) {
2531 void SSL_CTX_set_msg_callback(SSL_CTX *ctx,
2538 void SSL_CTX_set_msg_callback_arg(SSL_CTX *ctx, void *arg) {
2553 void SSL_CTX_set_keylog_bio(SSL_CTX *ctx, BIO *keylog_bio) {
2575 int ssl_ctx_log_rsa_client_key_exchange(SSL_CTX *ctx,
2620 int ssl_ctx_log_master_secret(SSL_CTX *ctx, const uint8_t *client_random,
2671 *ssl_ctx_size = sizeof(SSL_CTX);
2906 SSL_CTX *ctx, int (*cb)(const struct ssl_early_callback_ctx *)) {
2963 int SSL_CTX_sess_connect(const SSL_CTX *ctx) { return 0; }
2964 int SSL_CTX_sess_connect_good(const SSL_CTX *ctx) { return 0; }
2965 int SSL_CTX_sess_connect_renegotiate(const SSL_CTX *ctx) { return 0; }
2966 int SSL_CTX_sess_accept(const SSL_CTX *ctx) { return 0; }
2967 int SSL_CTX_sess_accept_renegotiate(const SSL_CTX *ctx) { return 0; }
2968 int SSL_CTX_sess_accept_good(const SSL_CTX *ctx) { return 0; }
2969 int SSL_CTX_sess_hits(const SSL_CTX *ctx) { return 0; }
2970 int SSL_CTX_sess_cb_hits(const SSL_CTX *ctx) { return 0; }
2971 int SSL_CTX_sess_misses(const SSL_CTX *ctx) { return 0; }
2972 int SSL_CTX_sess_timeouts(const SSL_CTX *ctx) { return 0; }
2973 int SSL_CTX_sess_cache_full(const SSL_CTX *ctx) { return 0; }