Back to home page

Nginx displayed by LXR

Source navigation ]
Diff markup ]
Identifier search ]
general search ]
 
 
Version: nginx-1.13.12 ]​[ nginx-1.12.2 ]​

0001 
0002 /*
0003  * Copyright (C) Igor Sysoev
0004  * Copyright (C) Nginx, Inc.
0005  */
0006 
0007 
0008 #ifndef _NGX_STREAM_SSL_H_INCLUDED_
0009 #define _NGX_STREAM_SSL_H_INCLUDED_
0010 
0011 
0012 #include <ngx_config.h>
0013 #include <ngx_core.h>
0014 #include <ngx_stream.h>
0015 
0016 
0017 typedef struct {
0018     ngx_msec_t       handshake_timeout;
0019 
0020     ngx_flag_t       prefer_server_ciphers;
0021 
0022     ngx_ssl_t        ssl;
0023 
0024     ngx_uint_t       protocols;
0025 
0026     ngx_uint_t       verify;
0027     ngx_uint_t       verify_depth;
0028 
0029     ssize_t          builtin_session_cache;
0030 
0031     time_t           session_timeout;
0032 
0033     ngx_array_t     *certificates;
0034     ngx_array_t     *certificate_keys;
0035 
0036     ngx_str_t        dhparam;
0037     ngx_str_t        ecdh_curve;
0038     ngx_str_t        client_certificate;
0039     ngx_str_t        trusted_certificate;
0040     ngx_str_t        crl;
0041 
0042     ngx_str_t        ciphers;
0043 
0044     ngx_array_t     *passwords;
0045 
0046     ngx_shm_zone_t  *shm_zone;
0047 
0048     ngx_flag_t       session_tickets;
0049     ngx_array_t     *session_ticket_keys;
0050 } ngx_stream_ssl_conf_t;
0051 
0052 
0053 extern ngx_module_t  ngx_stream_ssl_module;
0054 
0055 
0056 #endif /* _NGX_STREAM_SSL_H_INCLUDED_ */