Lines Matching refs:ssl
16 package tests.api.javax.net.ssl;
18 import javax.net.ssl.KeyManagerFactory;
19 import javax.net.ssl.SSLContextSpi;
20 import javax.net.ssl.SSLEngine;
21 import javax.net.ssl.SSLServerSocketFactory;
22 import javax.net.ssl.SSLSessionContext;
23 import javax.net.ssl.SSLSocketFactory;
24 import javax.net.ssl.KeyManager;
25 import javax.net.ssl.TrustManager;
26 import javax.net.ssl.TrustManagerFactory;
40 * javax.net.ssl.SSLContextSpi#SSLContextSpi()
44 SSLContextSpiImpl ssl = new SSLContextSpiImpl();
45 assertTrue(ssl instanceof SSLContextSpi);
52 * javax.net.ssl.SSLContextSpi#engineCreateSSLEngine()
56 SSLContextSpiImpl ssl = new SSLContextSpiImpl();
58 SSLEngine sleng = ssl.engineCreateSSLEngine();
70 * javax.net.ssl.SSLContextSpi#engineCreateSSLEngine(String host, int port)
75 SSLContextSpiImpl ssl = new SSLContextSpiImpl();
77 SSLEngine sleng = ssl.engineCreateSSLEngine("localhost", 1080);
89 SSLEngine sleng = ssl.engineCreateSSLEngine("localhost", invalid_port[i]);
105 SSLContextSpiImpl ssl = new SSLContextSpiImpl();
108 SSLSessionContext slsc = ssl.engineGetClientSessionContext();
119 SSLSessionContext slsc = ssl.engineGetServerSessionContext();
130 SSLServerSocketFactory sssf = ssl.engineGetServerSocketFactory();
141 SSLSocketFactory ssf = ssl.engineGetSocketFactory();
156 SSLContextSpiImpl ssl = new SSLContextSpiImpl();
157 String defaultAlgorithm = Security.getProperty("ssl.KeyManagerFactory.algorithm");
163 defaultAlgorithm = Security.getProperty("ssl.TrustManagerFactory.algorithm");
171 ssl.engineInit(km, tm, sr);
176 ssl.engineInit(km, tm, null);
195 SSLContextSpiImpl ssl = new SSLContextSpiImpl();
196 String defaultAlgorithm = Security.getProperty("ssl.KeyManagerFactory.algorithm");
202 defaultAlgorithm = Security.getProperty("ssl.TrustManagerFactory.algorithm");
209 ssl.engineInit(km, tm, sr);
215 assertNotNull("Subtest_01: Object is NULL", ssl.engineCreateSSLEngine());
216 SSLEngine sleng = ssl.engineCreateSSLEngine("localhost", 1080);
220 assertNull("Subtest_03: Object not NULL", ssl.engineGetClientSessionContext());
221 assertNull("Subtest_04: Object not NULL", ssl.engineGetServerSessionContext());
222 assertNull("Subtest_05: Object not NULL", ssl.engineGetServerSocketFactory());
223 assertNull("Subtest_06: Object not NULL", ssl.engineGetSocketFactory());