All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
rlm_eap_tls.h
Go to the documentation of this file.
1 /*
2  * rlm_eap_tls.h
3  *
4  * Version: $Id: 74e6a244f18c2923307a29c3b72505c1ea28ab4f $
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  *
20  * Copyright 2001 hereUare Communications, Inc. <raghud@hereuare.com>
21  * Copyright 2003 Alan DeKok <aland@freeradius.org>
22  * Copyright 2006 The FreeRADIUS server project
23  */
24 #ifndef _RLM_EAP_TLS_H
25 #define _RLM_EAP_TLS_H
26 
27 RCSIDH(rlm_eap_tls_h, "$Id: 74e6a244f18c2923307a29c3b72505c1ea28ab4f $")
28 
29 #include <freeradius-devel/radiusd.h>
30 #include <freeradius-devel/modules.h>
31 
32 #include "eap_tls.h"
33 
34 typedef struct rlm_eap_tls_t {
35  /*
36  * TLS configuration
37  */
38  char const *tls_conf_name; //!< The name of the shared TLS configuration.
39  fr_tls_server_conf_t *tls_conf; //!< Shared TLS configuration structure.
40 
41  bool req_client_cert; //!< Whether we require the client to provide
42  //!< a certificate or not. RFC 5216 says it's
43  //!< not mandatory, and there are some situations
44  //!< where it's useful to allow client access without
45  //!< a certificate.
46 
47  char const *virtual_server; //!< Virtual server used for validating certificates.
49 
50 #endif /* _RLM_EAP_TLS_H */
#define RCSIDH(h, id)
Definition: build.h:136
struct rlm_eap_tls_t rlm_eap_tls_t
fr_tls_server_conf_t * tls_conf
Shared TLS configuration structure.
Definition: rlm_eap_tls.h:39
char const * tls_conf_name
The name of the shared TLS configuration.
Definition: rlm_eap_tls.h:38
char const * virtual_server
Virtual server used for validating certificates.
Definition: rlm_eap_tls.h:47
bool req_client_cert
Whether we require the client to provide a certificate or not.
Definition: rlm_eap_tls.h:41