gwenhywfar  4.7.0beta
syncio_tls.h
Go to the documentation of this file.
1 /***************************************************************************
2  begin : Wed Apr 28 2010
3  copyright : (C) 2010 by Martin Preuss
4  email : martin@libchipcard.de
5 
6  ***************************************************************************
7  * *
8  * This library is free software; you can redistribute it and/or *
9  * modify it under the terms of the GNU Lesser General Public *
10  * License as published by the Free Software Foundation; either *
11  * version 2.1 of the License, or (at your option) any later version. *
12  * *
13  * This library is distributed in the hope that it will be useful, *
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16  * Lesser General Public License for more details. *
17  * *
18  * You should have received a copy of the GNU Lesser General Public *
19  * License along with this library; if not, write to the Free Software *
20  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
21  * MA 02111-1307 USA *
22  * *
23  ***************************************************************************/
24 
25 
26 #ifndef GWENHYWFAR_SYNCIO_TLS_H
27 #define GWENHYWFAR_SYNCIO_TLS_H
28 
29 #include <gwenhywfar/syncio.h>
30 #include <gwenhywfar/ssl_cert_descr.h>
31 
32 
33 #define GWEN_SYNCIO_TLS_TYPE "tls"
34 
35 
36 #define GWEN_SYNCIO_TLS_FLAGS_REQUEST_CERT 0x00000001
37 #define GWEN_SYNCIO_TLS_FLAGS_FORCE_SSL_V3 0x00000002
38 #define GWEN_SYNCIO_TLS_FLAGS_ALLOW_V1_CA_CRT 0x00000004
39 #define GWEN_SYNCIO_TLS_FLAGS_NEED_PEER_CERT 0x00000008
40 #define GWEN_SYNCIO_TLS_FLAGS_ADD_TRUSTED_CAS 0x00000010
41 #define GWEN_SYNCIO_TLS_FLAGS_SET_PASSV_HOST_NAME 0x00000020
42 #define GWEN_SYNCIO_TLS_FLAGS_SET_PASSV_HOST_IP 0x00000020
43 
44 #define GWEN_SYNCIO_TLS_FLAGS_SECURE 0x00008000
45 
46 
47 
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 
52 
55 
56 
59 
62 
65 
68 
71 
73 
74 
75 
76 #ifdef __cplusplus
77 }
78 #endif
79 
80 
81 #endif
82 
83