Sdílet prostřednictvím


SSLSocketFactory.GetDefaultCipherSuites Method

Definition

Returns the list of cipher suites which are enabled by default.

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

Returns

String[]

array of the cipher suites enabled by default

Attributes

Remarks

Returns the list of cipher suites which are enabled by default. Unless a different list is enabled, handshaking on an SSL connection will use one of these cipher suites. The minimum quality of service for these defaults requires confidentiality protection and server authentication (that is, no anonymous cipher suites).

Java documentation for javax.net.ssl.SSLSocketFactory.getDefaultCipherSuites().

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