#include <gwenhywfar/syncio.h>
#include <gwenhywfar/ssl_cert_descr.h>
Go to the source code of this file.
#define GWEN_SYNCIO_TLS_FLAGS_ADD_TRUSTED_CAS 0x00000010 |
Definition at line 40 of file syncio_tls.h.
Referenced by GWEN_HttpSession_Init(), and GWEN_SyncIo_Tls_Prepare().
#define GWEN_SYNCIO_TLS_FLAGS_ALLOW_V1_CA_CRT 0x00000004 |
Definition at line 38 of file syncio_tls.h.
Referenced by GWEN_HttpSession_Init(), and GWEN_SyncIo_Tls_GetPeerCert().
#define GWEN_SYNCIO_TLS_FLAGS_FORCE_SSL_V3 0x00000002 |
Definition at line 37 of file syncio_tls.h.
Referenced by GWEN_HttpSession_ConnectionTest(), GWEN_HttpSession_Init(), GWEN_HttpSession_SendPacket(), and GWEN_SyncIo_Tls_Prepare().
#define GWEN_SYNCIO_TLS_FLAGS_NEED_PEER_CERT 0x00000008 |
Definition at line 39 of file syncio_tls.h.
Referenced by GWEN_SyncIo_Tls_Connect().
#define GWEN_SYNCIO_TLS_FLAGS_REQUEST_CERT 0x00000001 |
Definition at line 36 of file syncio_tls.h.
Referenced by GWEN_SyncIo_Tls_Prepare().
#define GWEN_SYNCIO_TLS_FLAGS_SECURE 0x00008000 |
Definition at line 44 of file syncio_tls.h.
Referenced by GWEN_SyncIo_Tls_Connect().
#define GWEN_SYNCIO_TLS_FLAGS_SET_PASSV_HOST_IP 0x00000020 |
Definition at line 42 of file syncio_tls.h.
#define GWEN_SYNCIO_TLS_FLAGS_SET_PASSV_HOST_NAME 0x00000020 |
Definition at line 41 of file syncio_tls.h.
#define GWEN_SYNCIO_TLS_TYPE "tls" |
Definition at line 33 of file syncio_tls.h.
Referenced by GWEN_HttpSession_ConnectionTest(), GWEN_HttpSession_Init(), GWEN_HttpSession_SendPacket(), and GWEN_SyncIo_Tls_new().
GWENHYWFAR_API const char* GWEN_SyncIo_Tls_GetDhParamFile | ( | const GWEN_SYNCIO * | sio | ) |
Definition at line 164 of file syncio_tls.c.
References GWEN_INHERIT_GETDATA.
GWENHYWFAR_API const char* GWEN_SyncIo_Tls_GetLocalCertFile | ( | const GWEN_SYNCIO * | sio | ) |
Definition at line 86 of file syncio_tls.c.
References GWEN_INHERIT_GETDATA.
GWENHYWFAR_API const char* GWEN_SyncIo_Tls_GetLocalKeyFile | ( | const GWEN_SYNCIO * | sio | ) |
Definition at line 112 of file syncio_tls.c.
References GWEN_INHERIT_GETDATA.
GWENHYWFAR_API const char* GWEN_SyncIo_Tls_GetLocalTrustFile | ( | const GWEN_SYNCIO * | sio | ) |
Definition at line 138 of file syncio_tls.c.
References GWEN_INHERIT_GETDATA.
GWENHYWFAR_API GWEN_SSLCERTDESCR* GWEN_SyncIo_Tls_GetPeerCertDescr | ( | const GWEN_SYNCIO * | sio | ) |
Definition at line 216 of file syncio_tls.c.
References GWEN_INHERIT_GETDATA.
GWENHYWFAR_API const char* GWEN_SyncIo_Tls_GetRemoteHostName | ( | const GWEN_SYNCIO * | sio | ) |
Definition at line 190 of file syncio_tls.c.
References GWEN_INHERIT_GETDATA.
GWENHYWFAR_API GWEN_SYNCIO* GWEN_SyncIo_Tls_new | ( | GWEN_SYNCIO * | baseIo | ) |
Definition at line 58 of file syncio_tls.c.
References GWEN_INHERIT_SETDATA, GWEN_NEW_OBJECT, GWEN_SyncIo_new(), GWEN_SyncIo_SetConnectFn(), GWEN_SyncIo_SetDisconnectFn(), GWEN_SyncIo_SetReadFn(), GWEN_SyncIo_SetWriteFn(), GWEN_SyncIo_Tls_Connect(), GWEN_SyncIo_Tls_Disconnect(), GWEN_SyncIo_Tls_FreeData(), GWEN_SyncIo_Tls_Read(), GWEN_SYNCIO_TLS_TYPE, and GWEN_SyncIo_Tls_Write().
Referenced by GWEN_Gui_Internal_GetSyncIo().
GWENHYWFAR_API void GWEN_SyncIo_Tls_SetDhParamFile | ( | GWEN_SYNCIO * | sio, | |
const char * | s | |||
) |
Definition at line 176 of file syncio_tls.c.
References GWEN_INHERIT_GETDATA.
GWENHYWFAR_API void GWEN_SyncIo_Tls_SetLocalCertFile | ( | GWEN_SYNCIO * | sio, | |
const char * | s | |||
) |
Definition at line 98 of file syncio_tls.c.
References GWEN_INHERIT_GETDATA.
GWENHYWFAR_API void GWEN_SyncIo_Tls_SetLocalKeyFile | ( | GWEN_SYNCIO * | sio, | |
const char * | s | |||
) |
Definition at line 124 of file syncio_tls.c.
References GWEN_INHERIT_GETDATA.
GWENHYWFAR_API void GWEN_SyncIo_Tls_SetLocalTrustFile | ( | GWEN_SYNCIO * | sio, | |
const char * | s | |||
) |
Definition at line 150 of file syncio_tls.c.
References GWEN_INHERIT_GETDATA.
Referenced by GWEN_SyncIo_Tls_Prepare().
GWENHYWFAR_API void GWEN_SyncIo_Tls_SetRemoteHostName | ( | GWEN_SYNCIO * | sio, | |
const char * | s | |||
) |
Definition at line 202 of file syncio_tls.c.
References GWEN_INHERIT_GETDATA.
Referenced by GWEN_Gui_Internal_GetSyncIo().