Javax.Net.Ssl.SSLServerSocket.SetEnabledCipherSuites Method
Sets the names of the cipher suites to be enabled for new connections.

Syntax

[Android.Runtime.Register("setEnabledCipherSuites", "([Ljava/lang/String;)V", "GetSetEnabledCipherSuites_arrayLjava_lang_String_Handler")]
public abstract void SetEnabledCipherSuites (string[] suites)

Parameters

suites
the names of the to be enabled cipher suites.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif one of the cipher suite names is not supported.

Remarks

Sets the names of the cipher suites to be enabled for new connections. Only cipher suites returned by SSLServerSocket.GetSupportedCipherSuites are allowed.

[Android Documentation]

Requirements

Namespace: Javax.Net.Ssl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1