com.ibm.team.git.build.hjplugin.http
Class SSLContextUtil
java.lang.Object
com.ibm.team.git.build.hjplugin.http.SSLContextUtil
public class SSLContextUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
SSLContextUtil
public SSLContextUtil()
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.