Language

SSLSocket.NeedClientAuth Property

Definition

Returns true if the server socket should require client authentication.

public abstract bool NeedClientAuth { [Android.Runtime.Register("getNeedClientAuth", "()Z", "GetGetNeedClientAuthHandler")] get; [Android.Runtime.Register("setNeedClientAuth", "(Z)V", "GetSetNeedClientAuth_ZHandler")] set; }
[<get: Android.Runtime.Register("getNeedClientAuth", "()Z", "GetGetNeedClientAuthHandler")>]
[<set: Android.Runtime.Register("setNeedClientAuth", "(Z)V", "GetSetNeedClientAuth_ZHandler")>]
member this.NeedClientAuth : bool with get, set

Property Value

true if client authentication is required, or false if no client authentication is desired.

Attributes

Remarks

Returns true if the socket will require client authentication. This option is only useful to sockets in the server mode.

Java reference for javax.net.ssl.SSLSocket.getNeedClientAuth.

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