com.ibm.team.git.build.hjplugin.http
Class SSLContextUtil

java.lang.Object
  extended by com.ibm.team.git.build.hjplugin.http.SSLContextUtil

public class SSLContextUtil
extends Object


Field Summary
static String SSL
           
static String SSL_TLS
           
static String TLS
           
 
Constructor Summary
SSLContextUtil()
           
 
Method Summary
static SSLContext createSSLContext(KeyManager[] keyManagers, TrustManager trustManager)
          Creates an SSL context factory.
static SSLContext createSSLContext(TrustManager trustManager)
          Creates an SSL context factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSL_TLS

public static final String SSL_TLS
See Also:
Constant Field Values

TLS

public static final String TLS
See Also:
Constant Field Values

SSL

public static final String SSL
See Also:
Constant Field Values
Constructor Detail

SSLContextUtil

public SSLContextUtil()
Method Detail

createSSLContext

public static SSLContext createSSLContext(TrustManager trustManager)
Creates an SSL context factory. The returned SSLContext will be created so that it is compatible with the current security environment. If a FIPS environment is detected then a FIPS 140-2 complaint context will be returned.

Returns:
a SSLContext

createSSLContext

public static SSLContext createSSLContext(KeyManager[] keyManagers,
                                          TrustManager trustManager)
Creates an SSL context factory. The returned SSLContext will be created so that it is compatible with the current security environment. If a FIPS environment is detected then a FIPS 140-2 complaint context will be returned.

Returns:
a SSLContext


Copyright © 2004-2014. All Rights Reserved.