public final class MWCustomSSLContext
extends javax.net.ssl.SSLContext
Modifier and Type | Method and Description |
---|---|
static javax.net.ssl.SSLContext |
getInstance(java.lang.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 javax.net.ssl.SSLContext |
getInstance(java.lang.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 javax.net.ssl.SSLContext |
getInstance(java.lang.String protocol,
java.lang.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".
|
public static javax.net.ssl.SSLContext getInstance(java.lang.String protocol) throws java.security.NoSuchAlgorithmException
protocol
- secure socket protocoljava.security.NoSuchAlgorithmException
public static javax.net.ssl.SSLContext getInstance(java.lang.String protocol, java.lang.String protocol2) throws java.security.NoSuchAlgorithmException
protocol
- secure socket protocolprotocol2
- secure socket protocoljava.security.NoSuchAlgorithmException
public static javax.net.ssl.SSLContext getInstance(java.lang.String... protocols) throws java.security.NoSuchAlgorithmException
protocols
- secure socket protocol(s)java.security.NoSuchAlgorithmException
Copyright 2010-2016 The MathWorks, Inc.