public final class SslHelper
extends java.lang.Object
This class should not be considered a part of the public API.
Modifier and Type | Method and Description |
---|---|
static void |
enableHostNameVerification(javax.net.ssl.SSLParameters sslParameters)
Enable HTTP endpoint verification on the given SSL parameters.
|
static void |
enableSni(ServerAddress address,
javax.net.ssl.SSLParameters sslParameters)
Enable SNI if running on Java 8 or later.
|
public static void enableHostNameVerification(javax.net.ssl.SSLParameters sslParameters)
sslParameters
- The original SSL parameterspublic static void enableSni(ServerAddress address, javax.net.ssl.SSLParameters sslParameters)
address
- the server addresssslParameters
- the SSL parametersCopyright © 2010 - 2020 Adobe. All Rights Reserved