Lines Matching defs:tls_connection
232 struct tls_connection { struct
233 struct tls_context *context;
234 struct tls_data *data;
235 SSL_CTX *ssl_ctx;
236 SSL *ssl;
237 BIO *ssl_in, *ssl_out;
239 ENGINE *engine; /* functional reference to the engine */
240 EVP_PKEY *private_key; /* the private key if using engine */
242 char *subject_match, *altsubject_match, *suffix_match, *domain_match;
243 char *check_cert_subject;
244 int read_alerts, write_alerts, failed;
246 tls_session_ticket_cb session_ticket_cb;
247 void *session_ticket_cb_ctx;
250 u8 *session_ticket;
251 size_t session_ticket_len;
253 unsigned int ca_cert_verify:1;
254 unsigned int cert_probe:1;
255 unsigned int server_cert_only:1;
256 unsigned int invalid_hb_used:1;
257 unsigned int success_data:1;
258 unsigned int client_hello_generated:1;
259 unsigned int server:1;
261 u8 srv_cert_hash[32];
263 unsigned int flags;
265 X509 *peer_cert;
266 X509 *peer_issuer;
267 X509 *peer_issuer_issuer;
269 unsigned char client_random[SSL3_RANDOM_SIZE];
270 unsigned char server_random[SSL3_RANDOM_SIZE];
272 u16 cipher_suite;
273 int server_dh_prime_len;