Home
last modified time | relevance | path

Searched refs:pServerSocketFactory (Results 1 – 4 of 4) sorted by relevance

/thrift-3.4.0/lib/cpp/test/
DTSSLSocketInterruptTest.cpp119 shared_ptr<TSSLSocketFactory> pServerSocketFactory; in createServerSocketFactory() local
121 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() local
142 TSSLServerSocket sock1("localhost", 0, pServerSocketFactory); in BOOST_AUTO_TEST_CASE()
161 shared_ptr<TSSLSocketFactory> pServerSocketFactory = createServerSocketFactory(); in BOOST_AUTO_TEST_CASE() local
[all …]
DTNonblockingSSLServerTest.cpp110 std::shared_ptr<TSSLSocketFactory> pServerSocketFactory; in BOOST_GLOBAL_FIXTURE() local
112 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; member
164 pServerSocketFactory = createServerSocketFactory(); in run()
178 socket.reset(new transport::TNonblockingSSLServerSocket(port, pServerSocketFactory)); in startServer()
DSecurityTest.cpp106 shared_ptr<TSSLSocketFactory> pServerSocketFactory; in server() local
109pServerSocketFactory.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()
DSecurityFromBufferTest.cpp107 shared_ptr<TSSLSocketFactory> pServerSocketFactory; in server() local
110pServerSocketFactory.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()