次の方法で共有


SSLSockets.SetUseSessionTickets(SSLSocket, Boolean) Method

Definition

Enables or disables the use of session tickets.

[Android.Runtime.Register("setUseSessionTickets", "(Ljavax/net/ssl/SSLSocket;Z)V", "", ApiSince=29)]
public static void SetUseSessionTickets (Javax.Net.Ssl.SSLSocket socket, bool useSessionTickets);
[<Android.Runtime.Register("setUseSessionTickets", "(Ljavax/net/ssl/SSLSocket;Z)V", "", ApiSince=29)>]
static member SetUseSessionTickets : Javax.Net.Ssl.SSLSocket * bool -> unit

Parameters

socket
SSLSocket

the socket

useSessionTickets
Boolean

whether to enable or disable the use of session tickets

Attributes

Remarks

Enables or disables the use of session tickets.

This function must be called before the handshake is started or it will have no effect.

Java documentation for android.net.ssl.SSLSockets.setUseSessionTickets(javax.net.ssl.SSLSocket, boolean).

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