00001
00002
00003
00004
00005
00006
00007
00008
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
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
00037 #endif