com.enderak.procol.common.net
Class SSLCommon

java.lang.Object
  |
  +--com.enderak.procol.common.net.SSLCommon

public class SSLCommon
extends java.lang.Object

Class which provides some standard operations on SSLSocket's

Author:
Justin Dieters

Constructor Summary
SSLCommon()
           
 
Method Summary
static void enableAnonymousCipherSuites(javax.net.ssl.SSLServerSocket sslserversocket)
           
static void enableAnonymousCipherSuites(javax.net.ssl.SSLSocket sslSocket)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLCommon

public SSLCommon()
Method Detail

enableAnonymousCipherSuites

public static void enableAnonymousCipherSuites(javax.net.ssl.SSLSocket sslSocket)
Parameters:
sslSocket - The socket to enable anonymous cipher suites for. This is not guarenteed to work for non-Sun JRE's, which may not follow Sun's naming conventions for cipher suites

enableAnonymousCipherSuites

public static void enableAnonymousCipherSuites(javax.net.ssl.SSLServerSocket sslserversocket)
Parameters:
sslserversocket - The server socket to enable anonymous cipher suites for. This is not guarenteed to work for non-Sun JRE's, which may not follow Sun's naming conventions for cipher suites