@Test public void testGetSSLContext() { assertNotNull(new CustomTrustSSLProtocolSocketFactory(new DefaultX509TrustManager(), new CertificateStoreX509KeyManager( new DisabledCertificateIdentityCallback(), new Host(new TestProtocol()), new DisabledCertificateStore() )).getSSLContext()); }
public SSLContext getSSLContext() { return context; }
CustomTrustSSLProtocolSocketFactory extends SSLSocketFactory { public SSLContext getSSLContext() { return context; } }
CustomTrustSSLProtocolSocketFactory extends SSLSocketFactory { public SSLContext getSSLContext() { return context; } CustomTrustSSLProtocolSocketFactory(final X509TrustManager trust, final X509KeyManager key);  CustomTrustSSLProtocolSocketFactory(final X509TrustManager trust, final X509KeyManager key, final String... protocols);  CustomTrustSSLProtocolSocketFactory(final X509TrustManager trust, final X509KeyManager key,
                                               final SecureRandom seeder,
                                               final String... protocols); }
CustomTrustSSLProtocolSocketFactory extends SSLSocketFactory { public SSLContext getSSLContext() { return context; } CustomTrustSSLProtocolSocketFactory(final X509TrustManager trust, final X509KeyManager key);  CustomTrustSSLProtocolSocketFactory(final X509TrustManager trust, final X509KeyManager key, final String... protocols);  CustomTrustSSLProtocolSocketFactory(final X509TrustManager trust, final X509KeyManager key,
                                               final SecureRandom seeder,
                                               final String... protocols); SSLContext getSSLContext(); @Override String[] getDefaultCipherSuites(); @Override String[] getSupportedCipherSuites(); @Override Socket createSocket(); @Override Socket createSocket(final String host, final int port,
                               final InetAddress clientHost, final int clientPort); @Override Socket createSocket(final InetAddress host, final int port); @Override Socket createSocket(final InetAddress host, final int port,
                               final InetAddress localHost, final int localPort); @Override Socket createSocket(final String host, final int port); @Override Socket createSocket(final Socket socket, final String host, final int port, final boolean autoClose); }
CustomTrustSSLProtocolSocketFactory extends SSLSocketFactory { public SSLContext getSSLContext() { return context; } CustomTrustSSLProtocolSocketFactory(final X509TrustManager trust, final X509KeyManager key);  CustomTrustSSLProtocolSocketFactory(final X509TrustManager trust, final X509KeyManager key, final String... protocols);  CustomTrustSSLProtocolSocketFactory(final X509TrustManager trust, final X509KeyManager key,
                                               final SecureRandom seeder,
                                               final String... protocols); SSLContext getSSLContext(); @Override String[] getDefaultCipherSuites(); @Override String[] getSupportedCipherSuites(); @Override Socket createSocket(); @Override Socket createSocket(final String host, final int port,
                               final InetAddress clientHost, final int clientPort); @Override Socket createSocket(final InetAddress host, final int port); @Override Socket createSocket(final InetAddress host, final int port,
                               final InetAddress localHost, final int localPort); @Override Socket createSocket(final String host, final int port); @Override Socket createSocket(final Socket socket, final String host, final int port, final boolean autoClose);  }