OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Public Attributes | List of all members
ssl_ctx_st Struct Reference

#include <ssl.h>

Public Member Functions

 STACK_OF (SSL_CIPHER)*cipher_list
 
 STACK_OF (SSL_CIPHER)*cipher_list_by_id
 
 LHASH_OF (SSL_SESSION)*sessions
 
 STACK_OF (X509)*extra_certs
 
 STACK_OF (SSL_COMP)*comp_methods
 
 STACK_OF (X509_NAME)*client_CA
 
 STACK_OF (SRTP_PROTECTION_PROFILE)*srtp_profiles
 
 STACK_OF (SSL_CIPHER)*cipher_list
 
 STACK_OF (SSL_CIPHER)*cipher_list_by_id
 
 LHASH_OF (SSL_SESSION)*sessions
 
 STACK_OF (X509)*extra_certs
 
 STACK_OF (SSL_COMP)*comp_methods
 
 STACK_OF (X509_NAME)*client_CA
 
 STACK_OF (SRTP_PROTECTION_PROFILE)*srtp_profiles
 

Public Attributes

const SSL_METHODmethod
 
struct x509_store_stcert_store
 
unsigned long session_cache_size
 
struct ssl_session_stsession_cache_head
 
struct ssl_session_stsession_cache_tail
 
int session_cache_mode
 
long session_timeout
 
int(* new_session_cb )(struct ssl_st *ssl, SSL_SESSION *sess)
 
void(* remove_session_cb )(struct ssl_ctx_st *ctx, SSL_SESSION *sess)
 
SSL_SESSION *(* get_session_cb )(struct ssl_st *ssl, unsigned char *data, int len, int *copy)
 
struct {
   int   sess_connect
 
   int   sess_connect_renegotiate
 
   int   sess_connect_good
 
   int   sess_accept
 
   int   sess_accept_renegotiate
 
   int   sess_accept_good
 
   int   sess_miss
 
   int   sess_timeout
 
   int   sess_cache_full
 
   int   sess_hit
 
   int   sess_cb_hit
 
stats
 
int references
 
int(* app_verify_callback )(X509_STORE_CTX *, void *)
 
voidapp_verify_arg
 
pem_password_cbdefault_passwd_callback
 
voiddefault_passwd_callback_userdata
 
int(* client_cert_cb )(SSL *ssl, X509 **x509, EVP_PKEY **pkey)
 
int(* app_gen_cookie_cb )(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len)
 
int(* app_verify_cookie_cb )(SSL *ssl, unsigned char *cookie, unsigned int cookie_len)
 
CRYPTO_EX_DATA ex_data
 
const EVP_MDrsa_md5
 
const EVP_MDmd5
 
const EVP_MDsha1
 
void(* info_callback )(const SSL *ssl, int type, int val)
 
unsigned long options
 
unsigned long mode
 
long max_cert_list
 
struct cert_stcert
 
int read_ahead
 
void(* msg_callback )(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)
 
voidmsg_callback_arg
 
int verify_mode
 
unsigned int sid_ctx_length
 
unsigned char sid_ctx [SSL_MAX_SID_CTX_LENGTH]
 
int(* default_verify_callback )(int ok, X509_STORE_CTX *ctx)
 
GEN_SESSION_CB generate_session_id
 
X509_VERIFY_PARAMparam
 
int quiet_shutdown
 
unsigned int max_send_fragment
 
ENGINEclient_cert_engine
 
int(* tlsext_servername_callback )(SSL *, int *, void *)
 
voidtlsext_servername_arg
 
unsigned char tlsext_tick_key_name [16]
 
unsigned char tlsext_tick_hmac_key [16]
 
unsigned char tlsext_tick_aes_key [16]
 
int(* tlsext_ticket_key_cb )(SSL *ssl, unsigned char *name, unsigned char *iv, EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc)
 
int(* tlsext_status_cb )(SSL *ssl, void *arg)
 
voidtlsext_status_arg
 
int(* tlsext_opaque_prf_input_callback )(SSL *, void *peerinput, size_t len, void *arg)
 
voidtlsext_opaque_prf_input_callback_arg
 
char * psk_identity_hint
 
unsigned int(* psk_client_callback )(SSL *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len)
 
unsigned int(* psk_server_callback )(SSL *ssl, const char *identity, unsigned char *psk, unsigned int max_psk_len)
 
unsigned int freelist_max_len
 
struct ssl3_buf_freelist_stwbuf_freelist
 
struct ssl3_buf_freelist_strbuf_freelist
 
SRP_CTX srp_ctx
 
int(* next_protos_advertised_cb )(SSL *s, const unsigned char **buf, unsigned int *len, void *arg)
 
voidnext_protos_advertised_cb_arg
 
int(* next_proto_select_cb )(SSL *s, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)
 
voidnext_proto_select_cb_arg
 
struct {
   int   sess_connect
 
   int   sess_connect_renegotiate
 
   int   sess_connect_good
 
   int   sess_accept
 
   int   sess_accept_renegotiate
 
   int   sess_accept_good
 
   int   sess_miss
 
   int   sess_timeout
 
   int   sess_cache_full
 
   int   sess_hit
 
   int   sess_cb_hit
 
stats
 

Detailed Description

Definition at line 766 of file ssl.h.

Member Function Documentation

ssl_ctx_st::LHASH_OF ( SSL_SESSION  )
ssl_ctx_st::LHASH_OF ( SSL_SESSION  )
ssl_ctx_st::STACK_OF ( SSL_CIPHER  )
ssl_ctx_st::STACK_OF ( SSL_CIPHER  )
ssl_ctx_st::STACK_OF ( SSL_CIPHER  )
ssl_ctx_st::STACK_OF ( SSL_CIPHER  )
ssl_ctx_st::STACK_OF ( X509  )
ssl_ctx_st::STACK_OF ( X509  )
ssl_ctx_st::STACK_OF ( SSL_COMP  )
ssl_ctx_st::STACK_OF ( SSL_COMP  )
ssl_ctx_st::STACK_OF ( X509_NAME  )
ssl_ctx_st::STACK_OF ( X509_NAME  )
ssl_ctx_st::STACK_OF ( SRTP_PROTECTION_PROFILE  )
ssl_ctx_st::STACK_OF ( SRTP_PROTECTION_PROFILE  )

Member Data Documentation

int(* ssl_ctx_st::app_gen_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len)

Definition at line 845 of file ssl.h.

void * ssl_ctx_st::app_verify_arg

Definition at line 831 of file ssl.h.

int(* ssl_ctx_st::app_verify_callback)(X509_STORE_CTX *, void *)

Definition at line 830 of file ssl.h.

int(* ssl_ctx_st::app_verify_cookie_cb)(SSL *ssl, unsigned char *cookie, unsigned int cookie_len)

Definition at line 849 of file ssl.h.

struct cert_st * ssl_ctx_st::cert

Definition at line 876 of file ssl.h.

struct x509_store_st * ssl_ctx_st::cert_store

Definition at line 774 of file ssl.h.

int(* ssl_ctx_st::client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey)

Definition at line 842 of file ssl.h.

ENGINE * ssl_ctx_st::client_cert_engine

Definition at line 909 of file ssl.h.

pem_password_cb * ssl_ctx_st::default_passwd_callback

Definition at line 836 of file ssl.h.

void * ssl_ctx_st::default_passwd_callback_userdata

Definition at line 839 of file ssl.h.

int(* ssl_ctx_st::default_verify_callback)(int ok, X509_STORE_CTX *ctx)

Definition at line 886 of file ssl.h.

CRYPTO_EX_DATA ssl_ctx_st::ex_data

Definition at line 852 of file ssl.h.

unsigned int ssl_ctx_st::freelist_max_len

Definition at line 946 of file ssl.h.

GEN_SESSION_CB ssl_ctx_st::generate_session_id

Definition at line 889 of file ssl.h.

SSL_SESSION *(* ssl_ctx_st::get_session_cb)(struct ssl_st *ssl, unsigned char *data, int len, int *copy)

Definition at line 804 of file ssl.h.

void(* ssl_ctx_st::info_callback)(const SSL *ssl, int type, int val)

Definition at line 864 of file ssl.h.

long ssl_ctx_st::max_cert_list

Definition at line 874 of file ssl.h.

unsigned int ssl_ctx_st::max_send_fragment

Definition at line 904 of file ssl.h.

const EVP_MD * ssl_ctx_st::md5

Definition at line 855 of file ssl.h.

const SSL_METHOD * ssl_ctx_st::method

Definition at line 768 of file ssl.h.

unsigned long ssl_ctx_st::mode

Definition at line 873 of file ssl.h.

void(* ssl_ctx_st::msg_callback)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)

Definition at line 880 of file ssl.h.

void * ssl_ctx_st::msg_callback_arg

Definition at line 881 of file ssl.h.

int(* ssl_ctx_st::new_session_cb)(struct ssl_st *ssl, SSL_SESSION *sess)

Definition at line 802 of file ssl.h.

int(* ssl_ctx_st::next_proto_select_cb)(SSL *s, unsigned char **out, unsigned char *outlen, const unsigned char *in, unsigned int inlen, void *arg)

Definition at line 966 of file ssl.h.

void * ssl_ctx_st::next_proto_select_cb_arg

Definition at line 971 of file ssl.h.

int(* ssl_ctx_st::next_protos_advertised_cb)(SSL *s, const unsigned char **buf, unsigned int *len, void *arg)

Definition at line 961 of file ssl.h.

void * ssl_ctx_st::next_protos_advertised_cb_arg

Definition at line 963 of file ssl.h.

unsigned long ssl_ctx_st::options

Definition at line 872 of file ssl.h.

X509_VERIFY_PARAM * ssl_ctx_st::param

Definition at line 891 of file ssl.h.

unsigned int(* ssl_ctx_st::psk_client_callback)(SSL *ssl, const char *hint, char *identity, unsigned int max_identity_len, unsigned char *psk, unsigned int max_psk_len)

Definition at line 937 of file ssl.h.

char * ssl_ctx_st::psk_identity_hint

Definition at line 936 of file ssl.h.

unsigned int(* ssl_ctx_st::psk_server_callback)(SSL *ssl, const char *identity, unsigned char *psk, unsigned int max_psk_len)

Definition at line 940 of file ssl.h.

int ssl_ctx_st::quiet_shutdown

Definition at line 898 of file ssl.h.

struct ssl3_buf_freelist_st * ssl_ctx_st::rbuf_freelist

Definition at line 948 of file ssl.h.

int ssl_ctx_st::read_ahead

Definition at line 877 of file ssl.h.

int ssl_ctx_st::references

Definition at line 827 of file ssl.h.

void(* ssl_ctx_st::remove_session_cb)(struct ssl_ctx_st *ctx, SSL_SESSION *sess)

Definition at line 803 of file ssl.h.

const EVP_MD * ssl_ctx_st::rsa_md5

Definition at line 854 of file ssl.h.

int ssl_ctx_st::sess_accept

Definition at line 812 of file ssl.h.

int ssl_ctx_st::sess_accept_good

Definition at line 814 of file ssl.h.

int ssl_ctx_st::sess_accept_renegotiate

Definition at line 813 of file ssl.h.

int ssl_ctx_st::sess_cache_full

Definition at line 817 of file ssl.h.

int ssl_ctx_st::sess_cb_hit

Definition at line 819 of file ssl.h.

int ssl_ctx_st::sess_connect

Definition at line 809 of file ssl.h.

int ssl_ctx_st::sess_connect_good

Definition at line 811 of file ssl.h.

int ssl_ctx_st::sess_connect_renegotiate

Definition at line 810 of file ssl.h.

int ssl_ctx_st::sess_hit

Definition at line 818 of file ssl.h.

int ssl_ctx_st::sess_miss

Definition at line 815 of file ssl.h.

int ssl_ctx_st::sess_timeout

Definition at line 816 of file ssl.h.

struct ssl_session_st * ssl_ctx_st::session_cache_head

Definition at line 779 of file ssl.h.

int ssl_ctx_st::session_cache_mode

Definition at line 787 of file ssl.h.

unsigned long ssl_ctx_st::session_cache_size

Definition at line 778 of file ssl.h.

struct ssl_session_st * ssl_ctx_st::session_cache_tail

Definition at line 780 of file ssl.h.

long ssl_ctx_st::session_timeout

Definition at line 792 of file ssl.h.

const EVP_MD * ssl_ctx_st::sha1

Definition at line 856 of file ssl.h.

unsigned char ssl_ctx_st::sid_ctx

Definition at line 885 of file ssl.h.

unsigned int ssl_ctx_st::sid_ctx_length

Definition at line 884 of file ssl.h.

SRP_CTX ssl_ctx_st::srp_ctx

Definition at line 951 of file ssl.h.

struct { ... } ssl_ctx_st::stats
struct { ... } ssl_ctx_st::stats
int(* ssl_ctx_st::tlsext_opaque_prf_input_callback)(SSL *, void *peerinput, size_t len, void *arg)

Definition at line 931 of file ssl.h.

void * ssl_ctx_st::tlsext_opaque_prf_input_callback_arg

Definition at line 932 of file ssl.h.

void * ssl_ctx_st::tlsext_servername_arg

Definition at line 915 of file ssl.h.

int(* ssl_ctx_st::tlsext_servername_callback)(SSL *, int *, void *)

Definition at line 914 of file ssl.h.

void * ssl_ctx_st::tlsext_status_arg

Definition at line 929 of file ssl.h.

int(* ssl_ctx_st::tlsext_status_cb)(SSL *ssl, void *arg)

Definition at line 928 of file ssl.h.

unsigned char ssl_ctx_st::tlsext_tick_aes_key

Definition at line 919 of file ssl.h.

unsigned char ssl_ctx_st::tlsext_tick_hmac_key

Definition at line 918 of file ssl.h.

unsigned char ssl_ctx_st::tlsext_tick_key_name

Definition at line 917 of file ssl.h.

int(* ssl_ctx_st::tlsext_ticket_key_cb)(SSL *ssl, unsigned char *name, unsigned char *iv, EVP_CIPHER_CTX *ectx, HMAC_CTX *hctx, int enc)

Definition at line 921 of file ssl.h.

int ssl_ctx_st::verify_mode

Definition at line 883 of file ssl.h.

struct ssl3_buf_freelist_st * ssl_ctx_st::wbuf_freelist

Definition at line 947 of file ssl.h.


The documentation for this struct was generated from the following files: