Taal

PskKeyManager.ChooseServerKeyIdentityHint Method

Definition

Overloads

Name Description
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

The socket whose server identity hint is being selected.

Returns

The server's identity hint, or null for no hint. The base implementation returns null.

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

The TLS engine whose server identity hint is being selected.

Returns

The server's identity hint, or null for no hint. The base implementation returns null.

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