SSLContextSpi.EngineGetDefaultSSLParameters Method

Definition

Returns a copy of the SSLParameters indicating the default settings for this SSL context.

[Android.Runtime.Register("engineGetDefaultSSLParameters", "()Ljavax/net/ssl/SSLParameters;", "GetEngineGetDefaultSSLParametersHandler")]
protected virtual Javax.Net.Ssl.SSLParameters? EngineGetDefaultSSLParameters ();
[<Android.Runtime.Register("engineGetDefaultSSLParameters", "()Ljavax/net/ssl/SSLParameters;", "GetEngineGetDefaultSSLParametersHandler")>]
abstract member EngineGetDefaultSSLParameters : unit -> Javax.Net.Ssl.SSLParameters
override this.EngineGetDefaultSSLParameters : unit -> Javax.Net.Ssl.SSLParameters

Returns

a copy of the SSLParameters object with the default settings

Attributes

Remarks

Returns a copy of the SSLParameters indicating the default settings for this SSL context.

The parameters will always have the ciphersuite and protocols arrays set to non-null values.

The default implementation obtains the parameters from an SSLSocket created by calling the javax.net.SocketFactory#createSocket SocketFactory.createSocket() method of this context's SocketFactory.

Added in 1.6.

Java documentation for javax.net.ssl.SSLContextSpi.engineGetDefaultSSLParameters().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to