Package com.mongodb.internal.connection
Class SslHelper
- java.lang.Object
 - 
- com.mongodb.internal.connection.SslHelper
 
 
- 
@Deprecated(since="2021-05-27") public final class SslHelper extends java.lang.ObjectDeprecated.Usage of this API is not supported in AEM as a Cloud Service.This class should not be considered a part of the public API.
 
- 
- 
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidenableHostNameVerification(javax.net.ssl.SSLParameters sslParameters)Deprecated.Enable HTTP endpoint verification on the given SSL parameters.static voidenableSni(java.lang.String host, javax.net.ssl.SSLParameters sslParameters)Deprecated.Enable SNI if running on Java 8 or later. 
 - 
 
- 
- 
Method Detail
- 
enableHostNameVerification
public static void enableHostNameVerification(javax.net.ssl.SSLParameters sslParameters)
Deprecated.Enable HTTP endpoint verification on the given SSL parameters.- Parameters:
 sslParameters- The original SSL parameters
 
- 
enableSni
public static void enableSni(java.lang.String host, javax.net.ssl.SSLParameters sslParameters)Deprecated.Enable SNI if running on Java 8 or later. Otherwise fail silently to enable SNI.- Parameters:
 host- the server hostsslParameters- the SSL parameters
 
 - 
 
 -