Back to home page

Nginx displayed by LXR

Source navigation ]
Diff markup ]
Identifier search ]
general search ]
 
 
Version: nginx-1.15.12 ]​[ nginx-1.16.0 ]​

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       listen;
0025     ngx_uint_t       protocols;
0026 
0027     ngx_uint_t       verify;
0028     ngx_uint_t       verify_depth;
0029 
0030     ssize_t          builtin_session_cache;
0031 
0032     time_t           session_timeout;
0033 
0034     ngx_array_t     *certificates;
0035     ngx_array_t     *certificate_keys;
0036 
0037     ngx_array_t     *certificate_values;
0038     ngx_array_t     *certificate_key_values;
0039 
0040     ngx_str_t        dhparam;
0041     ngx_str_t        ecdh_curve;
0042     ngx_str_t        client_certificate;
0043     ngx_str_t        trusted_certificate;
0044     ngx_str_t        crl;
0045 
0046     ngx_str_t        ciphers;
0047 
0048     ngx_array_t     *passwords;
0049 
0050     ngx_shm_zone_t  *shm_zone;
0051 
0052     ngx_flag_t       session_tickets;
0053     ngx_array_t     *session_ticket_keys;
0054 
0055     u_char          *file;
0056     ngx_uint_t       line;
0057 } ngx_stream_ssl_conf_t;
0058 
0059 
0060 extern ngx_module_t  ngx_stream_ssl_module;
0061 
0062 
0063 #endif /* _NGX_STREAM_SSL_H_INCLUDED_ */