javax.net.ssl.SSLContext factory methods.Note
the default Oracle JSSE implementation of
SSLContext#init(KeyManager[], TrustManager[], SecureRandom)
accepts multiple key and trust managers, however only only first matching type is ever used.
See for example:
SSLContext.html#init
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static SSLContext | Returns: the default SSL socket factoryCreates default factory based on the standard JSSE trust material
( |
| public static SSLContext | Returns: default system SSL contextCreates default SSL context based on system properties. |
| public static SSLContextBuilder |
| SSLContexts | back to summary |
|---|---|
| private SSLContexts() | |
| createDefault | back to summary |
|---|---|
| public static SSLContext createDefault() throws SSLInitializationException Creates default factory based on the standard JSSE trust material
(
| |
| createSystemDefault | back to summary |
|---|---|
| public static SSLContext createSystemDefault() throws SSLInitializationException Creates default SSL context based on system properties. This method obtains
default SSL context by calling
| |
| custom | back to summary |
|---|---|
| public static SSLContextBuilder custom() Creates custom SSL context.
| |