The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
rlm_eap_tls.h
Go to the documentation of this file.
1 #pragma once
2 /*
3  * rlm_eap_tls.h
4  *
5  * Version: $Id: 735057bf5680b2fd927aa92b64bcde43fe8b6704 $
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20  *
21  * @copyright 2001 hereUare Communications, Inc. (raghud@hereuare.com)
22  * @copyright 2003 Alan DeKok (aland@freeradius.org)
23  * @copyright 2006 The FreeRADIUS server project
24  */
25 RCSIDH(rlm_eap_tls_h, "$Id: 735057bf5680b2fd927aa92b64bcde43fe8b6704 $")
26 
27 #include <freeradius-devel/eap/tls.h>
28 #include <freeradius-devel/server/base.h>
29 #include <freeradius-devel/server/module_rlm.h>
30 
31 /** Cache sections to call on various protocol events
32  *
33  */
34 typedef struct {
37 
38 typedef struct {
39  /*
40  * TLS configuration
41  */
42  char const *tls_conf_name; //!< The name of the shared TLS configuration.
43  fr_tls_conf_t *tls_conf; //!< Shared TLS configuration structure.
44 
46 
47  bool req_client_cert; //!< Whether we require the client to provide
48  //!< a certificate or not. RFC 5216 says it's
49  //!< not mandatory, and there are some situations
50  //!< where it's useful to allow client access without
51  //!< a certificate.
52 
53  char const *virtual_server; //!< Virtual server used for validating certificates.
#define RCSIDH(h, id)
Definition: build.h:445
A section grouping multiple CONF_PAIR.
Definition: cf_priv.h:89
CONF_SECTION * recv_access_request
Definition: rlm_eap_tls.h:35
char const * tls_conf_name
The name of the shared TLS configuration.
Definition: rlm_eap_tls.h:42
char const * virtual_server
Virtual server used for validating certificates.
Definition: rlm_eap_tls.h:53
fr_tls_conf_t * tls_conf
Shared TLS configuration structure.
Definition: rlm_eap_tls.h:43
bool req_client_cert
Whether we require the client to provide a certificate or not.
Definition: rlm_eap_tls.h:47
bool include_length
Definition: rlm_eap_tls.h:45
Cache sections to call on various protocol events.
Definition: rlm_eap_tls.h:34