Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

tlsprv.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2005, 2006 by KoanLogic s.r.l. <http://www.koanlogic.com>
00003  * All rights reserved.
00004  *
00005  * This file is part of KLone, and as such it is subject to the license stated
00006  * in the LICENSE file which you have received as part of this distribution.
00007  *
00008  * $Id: tlsprv.h,v 1.7 2006/01/09 12:38:38 tat Exp $
00009  */
00010 
00011 #ifndef _KLONE_TLS_PRV_H_
00012 #define _KLONE_TLS_PRV_H_
00013 
00014 #include "klone_conf.h"
00015 #ifdef  HAVE_LIBOPENSSL
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021 /* used by tls.c */
00022 DH  *get_dh1024 (void);
00023 BIO *bio_from_emb (const char *);
00024 int SSL_CTX_use_certificate_chain (SSL_CTX *, const char *, int, int (*)());
00025 int tls_load_verify_locations(SSL_CTX *, const char *);
00026 int tls_use_certificate_file(SSL_CTX *, const char *, int);
00027 int tls_use_PrivateKey_file(SSL_CTX *, const char *, int);
00028 int SSL_CTX_use_certificate_chain_file(SSL_CTX *, const char *);
00029 int tls_use_certificate_chain(SSL_CTX *, const char *, int, int (*)(void));
00030 STACK_OF(X509_NAME) *tls_load_client_CA_file(const char *);
00031 
00032 #ifdef __cplusplus
00033 }
00034 #endif 
00035 
00036 #endif /* HAVE_LIBOPENSSL */
00037 #endif /* _KLONE_TLS_PRV_H_ */

←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved