include/TransportTLS.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: TransportTLS.H 553 2006-03-08 20:11:33Z koji $ */
00007 #ifndef __TRANSPORTTLS_H__
00008 #define __TRANSPORTTLS_H__
00009 
00010 #include "TransportTLSCommon.H"
00011 
00012 LIBEPP_NICBR_NS_BEGIN
00013 
00015 class TransportTLS : public TransportTLSCommon
00016 {
00017 public:
00019   TransportTLS(const string &server = "localhost", const int &port = 700);
00020 
00022 
00025   const string get_server();
00026 
00028 
00031   const int get_port();
00032 
00034 
00037   void set_server(const string &server);
00038 
00040 
00043   void set_port(const int &port);
00044 
00046 
00051   void connect(const string &client_cert_file, const string &root_ca_file,
00052                const string &pem_passphrase = "");
00053 
00054 private:
00056   string _server;
00057 
00059   int _port;
00060 };
00061 
00062 LIBEPP_NICBR_NS_END
00063 #endif //__TRANSPORTTLS_H__

Generated on Thu Jun 8 17:40:00 2006 for libepp_nicbr by  doxygen 1.4.6