Partager via


PskKeyManager.ChooseServerKeyIdentityHint Method

Definition

Overloads

ChooseServerKeyIdentityHint(Socket)

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

ChooseServerKeyIdentityHint(SSLEngine)

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

ChooseServerKeyIdentityHint(Socket)

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

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

Parameters

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

ChooseServerKeyIdentityHint(SSLEngine)

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

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

Parameters

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