Searched refs:pServerSocketFactory (Results 1 – 4 of 4) sorted by relevance
119 shared_ptr<TSSLSocketFactory> pServerSocketFactory; in createServerSocketFactory() local121 pServerSocketFactory.reset(new TSSLSocketFactory()); in createServerSocketFactory()122 pServerSocketFactory->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH"); in createServerSocketFactory()123 pServerSocketFactory->loadCertificate(certFile("server.crt").string().c_str()); in createServerSocketFactory()124 pServerSocketFactory->loadPrivateKey(certFile("server.key").string().c_str()); in createServerSocketFactory()125 pServerSocketFactory->server(true); in createServerSocketFactory()126 return pServerSocketFactory; in createServerSocketFactory()141 shared_ptr<TSSLSocketFactory> pServerSocketFactory = createServerSocketFactory(); in BOOST_AUTO_TEST_CASE() local142 TSSLServerSocket sock1("localhost", 0, pServerSocketFactory); in BOOST_AUTO_TEST_CASE()161 shared_ptr<TSSLSocketFactory> pServerSocketFactory = createServerSocketFactory(); in BOOST_AUTO_TEST_CASE() local[all …]
110 std::shared_ptr<TSSLSocketFactory> pServerSocketFactory; in BOOST_GLOBAL_FIXTURE() local112 pServerSocketFactory.reset(new TSSLSocketFactory()); in BOOST_GLOBAL_FIXTURE()113 pServerSocketFactory->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH"); in BOOST_GLOBAL_FIXTURE()114 pServerSocketFactory->loadCertificate(certFile("server.crt").string().c_str()); in BOOST_GLOBAL_FIXTURE()115 pServerSocketFactory->loadPrivateKey(certFile("server.key").string().c_str()); in BOOST_GLOBAL_FIXTURE()116 pServerSocketFactory->server(true); in BOOST_GLOBAL_FIXTURE()117 return pServerSocketFactory; in BOOST_GLOBAL_FIXTURE()153 std::shared_ptr<TSSLSocketFactory> pServerSocketFactory; member164 pServerSocketFactory = createServerSocketFactory(); in run()178 socket.reset(new transport::TNonblockingSSLServerSocket(port, pServerSocketFactory)); in startServer()
106 shared_ptr<TSSLSocketFactory> pServerSocketFactory; in server() local109 …pServerSocketFactory.reset(new TSSLSocketFactory(static_cast<apache::thrift::transport::SSLProtoco… in server()110 pServerSocketFactory->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH"); in server()111 pServerSocketFactory->loadCertificate(certFile("server.crt").string().c_str()); in server()112 pServerSocketFactory->loadPrivateKey(certFile("server.key").string().c_str()); in server()113 pServerSocketFactory->server(true); in server()114 pServerSocket.reset(new TSSLServerSocket("localhost", 0, pServerSocketFactory)); in server()
107 shared_ptr<TSSLSocketFactory> pServerSocketFactory; in server() local110 …pServerSocketFactory.reset(new TSSLSocketFactory(static_cast<apache::thrift::transport::SSLProtoco… in server()111 pServerSocketFactory->ciphers("ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH"); in server()112 pServerSocketFactory->loadCertificateFromBuffer(certString("server.crt").c_str()); in server()113 pServerSocketFactory->loadPrivateKeyFromBuffer(certString("server.key").c_str()); in server()114 pServerSocketFactory->server(true); in server()115 pServerSocket.reset(new TSSLServerSocket("localhost", 0, pServerSocketFactory)); in server()