Share via


SSLServerSocket.GetEnabledCipherSuites Method

Definition

Returns the list of cipher suites which are currently enabled for use by newly accepted connections.

[Android.Runtime.Register("getEnabledCipherSuites", "()[Ljava/lang/String;", "GetGetEnabledCipherSuitesHandler")]
public abstract string[]? GetEnabledCipherSuites ();
[<Android.Runtime.Register("getEnabledCipherSuites", "()[Ljava/lang/String;", "GetGetEnabledCipherSuitesHandler")>]
abstract member GetEnabledCipherSuites : unit -> string[]

Returns

String[]

an array of cipher suites enabled

Attributes

Remarks

Returns the list of cipher suites which are currently enabled for use by newly accepted connections.

If this list has not been explicitly modified, a system-provided default guarantees a minimum quality of service in all enabled cipher suites.

There are several reasons why an enabled cipher suite might not actually be used. For example: the server socket might not have appropriate private keys available to it or the cipher suite might be anonymous, precluding the use of client authentication, while the server socket has been told to require that sort of authentication.

Java documentation for javax.net.ssl.SSLServerSocket.getEnabledCipherSuites().

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