|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.http.conn.ssl.SSLContexts
SSLContexts
.
@Contract(threading=IMMUTABLE) @Deprecated public class SSLContexts
SSLContext
factory methods.
Constructor Summary | |
---|---|
SSLContexts()
Deprecated. |
Method Summary | |
---|---|
static SSLContext |
createDefault()
Deprecated. Creates default factory based on the standard JSSE trust material ( cacerts file in the security properties directory). |
static SSLContext |
createSystemDefault()
Deprecated. Creates default SSL context based on system properties. |
static SSLContextBuilder |
custom()
Deprecated. Creates custom SSL context. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSLContexts()
Method Detail |
---|
public static SSLContext createDefault() throws SSLInitializationException
cacerts
file in the security properties directory). System properties
are not taken into consideration.
SSLInitializationException
public static SSLContext createSystemDefault() throws SSLInitializationException
SSLContext.getInstance("Default")
.
Please note that Default
algorithm is supported as of Java 6.
This method will fall back onto createDefault()
when
Default
algorithm is not available.
SSLInitializationException
public static SSLContextBuilder custom()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |