Javax.Net.Ssl.SSLEngine.SetEnabledCipherSuites Method
Sets the SSL cipher suite names that should be enabled in this engine instance.

Syntax

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

Parameters

suites
the SSL cipher suite names to be enabled.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif one of the specified cipher suites is not supported, or if suites is null.

Remarks

Sets the SSL cipher suite names that should be enabled in this engine instance. Only cipher suites listed by 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