public final class MWCustomSSLContext extends SSLContext
| Modifier and Type | Method and Description |
|---|---|
static SSLContext |
getInstance(String... protocols)
Creates a SSLContext object that implements the specified secure socket protocol given by the first argument, where
the enabled protocols of the SSL object returned will be reduced to "protocols".
|
static SSLContext |
getInstance(String protocol)
Creates a SSLContext object that implements the specified secure socket protocol where the enabled protocols of the
SSL object returned will be reduced to "protocol".
|
static SSLContext |
getInstance(String protocol,
String protocol2)
Creates a SSLContext object that implements the specified secure socket protocol "protocol" where
the enabled protocols of the SSL object returned will be reduced to "protocol" and "protocol2".
|
createSSLEngine, createSSLEngine, getClientSessionContext, getDefault, getDefaultSSLParameters, getInstance, getProtocol, getProvider, getServerSessionContext, getServerSocketFactory, getSocketFactory, getSupportedSSLParameters, init, setDefaultpublic static SSLContext getInstance(String protocol) throws NoSuchAlgorithmException
protocol - secure socket protocolNoSuchAlgorithmExceptionpublic static SSLContext getInstance(String protocol, String protocol2) throws NoSuchAlgorithmException
protocol - secure socket protocolprotocol2 - secure socket protocolNoSuchAlgorithmExceptionpublic static SSLContext getInstance(String... protocols) throws NoSuchAlgorithmException
protocols - secure socket protocol(s)NoSuchAlgorithmExceptionCopyright © 2015–2024. All rights reserved.