Language

SSLParameters.SetNamedGroups(String[]) Method

Definition

Sets the prioritized array of key exchange named groups names that can be used over the SSL/TLS/DTLS protocols.

[Android.Runtime.Register("setNamedGroups", "([Ljava/lang/String;)V", "GetSetNamedGroups_arrayLjava_lang_String_Handler", ApiSince=37)]
public virtual void SetNamedGroups(string[]? namedGroups);
[<Android.Runtime.Register("setNamedGroups", "([Ljava/lang/String;)V", "GetSetNamedGroups_arrayLjava_lang_String_Handler", ApiSince=37)>]
abstract member SetNamedGroups : string[] -> unit
override this.SetNamedGroups : string[] -> unit

Parameters

namedGroups
String[]

an ordered array of key exchange named group names with the first entry being the most preferred, or null. This method will make a copy of this array. Providers should ignore unknown named group scheme names while establishing the SSL/TLS/DTLS connections.

Attributes

Remarks

Sets the prioritized array of key exchange named groups names that can be used over the SSL/TLS/DTLS protocols. Note that the standard list of key exchange named groups are defined in the Named Groups section of the Java Security Standard Algorithm Names Specification. Providers may support named groups not defined in this list or may not use the recommended name for a certain named group. The set of named groups that will be used over the SSL/TLS/DTLS connections is determined by the input parameter namedGroups array and the underlying provider-specific default named groups. See getNamedGroups() for specific details on how the parameters are used in SSL/TLS/DTLS connections.

Java reference for javax.net.ssl.SSLParameters.setNamedGroups.

Applies to