devxlogo

Find Out What Cipher Suites Are Supported in JSSE

Find Out What Cipher Suites Are Supported in JSSE

You can make the Java Secure Socket Extension list the supported cipher suites using the following code:

SocketFactory SSLF=SSLSocketFactory.getDefault(); SSLsoclu=SSLF.createSocket("12.110.20.211",443);          String[] cipher_suites=((SSLSocket)SSLsoclu).getSupportedCipherSuites();     for(int i=0;i

devx-admin

Share the Post: