PskKeyManager.ChooseClientKeyIdentity Method

Definition

Overloads

ChooseClientKeyIdentity(String, Socket)

Gets the PSK identity to report to the server to help agree on the PSK for the provided socket.

ChooseClientKeyIdentity(String, SSLEngine)

Gets the PSK identity to report to the server to help agree on the PSK for the provided engine.

ChooseClientKeyIdentity(String, Socket)

Gets the PSK identity to report to the server to help agree on the PSK for the provided socket.

[Android.Runtime.Register("chooseClientKeyIdentity", "(Ljava/lang/String;Ljava/net/Socket;)Ljava/lang/String;", "GetChooseClientKeyIdentity_Ljava_lang_String_Ljava_net_Socket_Handler")]
public virtual string? ChooseClientKeyIdentity (string? identityHint, Java.Net.Socket? socket);
[<Android.Runtime.Register("chooseClientKeyIdentity", "(Ljava/lang/String;Ljava/net/Socket;)Ljava/lang/String;", "GetChooseClientKeyIdentity_Ljava_lang_String_Ljava_net_Socket_Handler")>]
abstract member ChooseClientKeyIdentity : string * Java.Net.Socket -> string
override this.ChooseClientKeyIdentity : string * Java.Net.Socket -> string

Parameters

identityHint
String

identity hint provided by the server or null if none provided.

socket
Socket

Returns

Attributes

Remarks

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

ChooseClientKeyIdentity(String, SSLEngine)

Gets the PSK identity to report to the server to help agree on the PSK for the provided engine.

[Android.Runtime.Register("chooseClientKeyIdentity", "(Ljava/lang/String;Ljavax/net/ssl/SSLEngine;)Ljava/lang/String;", "GetChooseClientKeyIdentity_Ljava_lang_String_Ljavax_net_ssl_SSLEngine_Handler")]
public virtual string? ChooseClientKeyIdentity (string? identityHint, Javax.Net.Ssl.SSLEngine? engine);
[<Android.Runtime.Register("chooseClientKeyIdentity", "(Ljava/lang/String;Ljavax/net/ssl/SSLEngine;)Ljava/lang/String;", "GetChooseClientKeyIdentity_Ljava_lang_String_Ljavax_net_ssl_SSLEngine_Handler")>]
abstract member ChooseClientKeyIdentity : string * Javax.Net.Ssl.SSLEngine -> string
override this.ChooseClientKeyIdentity : string * Javax.Net.Ssl.SSLEngine -> string

Parameters

identityHint
String

identity hint provided by the server or null if none provided.

engine
SSLEngine

Returns

Attributes

Remarks

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