SSLServerSocket.WantClientAuth Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether server-mode connections will be configured to request client authentication.
public abstract bool WantClientAuth { [Android.Runtime.Register("getWantClientAuth", "()Z", "GetGetWantClientAuthHandler")] get; [Android.Runtime.Register("setWantClientAuth", "(Z)V", "GetSetWantClientAuth_ZHandler")] set; }
[<get: Android.Runtime.Register("getWantClientAuth", "()Z", "GetGetWantClientAuthHandler")>]
[<set: Android.Runtime.Register("setWantClientAuth", "(Z)V", "GetSetWantClientAuth_ZHandler")>]
member this.WantClientAuth : bool with get, set
Property Value
true if client authentication is requested, or false if no client authentication is desired.
- Attributes
Remarks
Returns true if client authentication will be requested on newly accepted server-mode connections. The initial inherited setting may be overridden by calling SSLSocket.setNeedClientAuth(boolean) or SSLSocket.setWantClientAuth(boolean).
Java reference for javax.net.ssl.SSLServerSocket.getWantClientAuth.
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.