@Test public void testHasSupportedProtocols() throws Exception { final Collection<String> result = EncryptionArtifactFactory.getSupportedProtocols(); Assert.assertFalse( result.isEmpty() ); }
public static List<String> getSupportedProtocols() throws NoSuchAlgorithmException, KeyManagementException { final SSLContext context = getUninitializedSSLContext(); context.init( null, null, null ); return Arrays.asList( context.createSSLEngine().getSupportedProtocols() ); }
EncryptionArtifactFactory { public static List<String> getSupportedProtocols() throws NoSuchAlgorithmException, KeyManagementException { final SSLContext context = getUninitializedSSLContext(); context.init( null, null, null ); return Arrays.asList( context.createSSLEngine().getSupportedProtocols() ); } }
EncryptionArtifactFactory { public static List<String> getSupportedProtocols() throws NoSuchAlgorithmException, KeyManagementException { final SSLContext context = getUninitializedSSLContext(); context.init( null, null, null ); return Arrays.asList( context.createSSLEngine().getSupportedProtocols() ); } EncryptionArtifactFactory( ConnectionConfiguration configuration ); }
EncryptionArtifactFactory { public static List<String> getSupportedProtocols() throws NoSuchAlgorithmException, KeyManagementException { final SSLContext context = getUninitializedSSLContext(); context.init( null, null, null ); return Arrays.asList( context.createSSLEngine().getSupportedProtocols() ); } EncryptionArtifactFactory( ConnectionConfiguration configuration ); synchronized KeyManager[] getKeyManagers(); synchronized TrustManager[] getTrustManagers(); static SSLContext getUninitializedSSLContext(); synchronized SSLContext getSSLContext(); SSLEngine createServerModeSSLEngine(); SSLEngine createClientModeSSLEngine(); synchronized SslContextFactory getSslContextFactory(); SslFilter createServerModeSslFilter(); SslFilter createClientModeSslFilter(); static List<String> getSupportedProtocols(); static List<String> getDefaultProtocols(); static List<String> getSupportedCipherSuites(); static List<String> getDefaultCipherSuites(); }
EncryptionArtifactFactory { public static List<String> getSupportedProtocols() throws NoSuchAlgorithmException, KeyManagementException { final SSLContext context = getUninitializedSSLContext(); context.init( null, null, null ); return Arrays.asList( context.createSSLEngine().getSupportedProtocols() ); } EncryptionArtifactFactory( ConnectionConfiguration configuration ); synchronized KeyManager[] getKeyManagers(); synchronized TrustManager[] getTrustManagers(); static SSLContext getUninitializedSSLContext(); synchronized SSLContext getSSLContext(); SSLEngine createServerModeSSLEngine(); SSLEngine createClientModeSSLEngine(); synchronized SslContextFactory getSslContextFactory(); SslFilter createServerModeSslFilter(); SslFilter createClientModeSslFilter(); static List<String> getSupportedProtocols(); static List<String> getDefaultProtocols(); static List<String> getSupportedCipherSuites(); static List<String> getDefaultCipherSuites(); static final SystemProperty<Class> TRUST_MANAGER_CLASS; static final SystemProperty<String> SSLCONTEXT_PROTOCOL; }