SSLEngine.SSLParameters Property

Definition

Returns the SSLParameters in effect for this SSLEngine. -or- Applies SSLParameters to this engine.

public virtual Javax.Net.Ssl.SSLParameters? SSLParameters { [Android.Runtime.Register("getSSLParameters", "()Ljavax/net/ssl/SSLParameters;", "GetGetSSLParametersHandler")] get; [Android.Runtime.Register("setSSLParameters", "(Ljavax/net/ssl/SSLParameters;)V", "GetSetSSLParameters_Ljavax_net_ssl_SSLParameters_Handler")] set; }
[<get: Android.Runtime.Register("getSSLParameters", "()Ljavax/net/ssl/SSLParameters;", "GetGetSSLParametersHandler")>]
[<set: Android.Runtime.Register("setSSLParameters", "(Ljavax/net/ssl/SSLParameters;)V", "GetSetSSLParameters_Ljavax_net_ssl_SSLParameters_Handler")>]
member this.SSLParameters : Javax.Net.Ssl.SSLParameters with get, set

Property Value

the SSLParameters in effect for this SSLEngine.

Attributes

Remarks

Property getter documentation:

Returns the SSLParameters in effect for this SSLEngine. The ciphersuites and protocols of the returned SSLParameters are always non-null.

Added in 1.6.

Java documentation for javax.net.ssl.SSLEngine.getSSLParameters().

Property setter documentation:

Applies SSLParameters to this engine.

This means: <ul> <li>If params.getCipherSuites() is non-null, setEnabledCipherSuites() is called with that value.</li> <li>If params.getProtocols() is non-null, setEnabledProtocols() is called with that value.</li> <li>If params.getNeedClientAuth() or params.getWantClientAuth() return true, setNeedClientAuth(true) and setWantClientAuth(true) are called, respectively; otherwise setWantClientAuth(false) is called.</li> <li>If params.getServerNames() is non-null, the engine will configure its server names with that value.</li> <li>If params.getSNIMatchers() is non-null, the engine will configure its SNI matchers with that value.</li> </ul>

Added in 1.6.

Java documentation for javax.net.ssl.SSLEngine.setSSLParameters(javax.net.ssl.SSLParameters).

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