Share via


SSLParameters.NeedClientAuth Property

Definition

Returns whether client authentication should be required. -or- Sets whether client authentication should be required.

public virtual 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

whether client authentication should be required.

Attributes

Remarks

Property getter documentation:

Returns whether client authentication should be required.

Java documentation for javax.net.ssl.SSLParameters.getNeedClientAuth().

Property setter documentation:

Sets whether client authentication should be required. Calling this method clears the wantClientAuth flag.

Java documentation for javax.net.ssl.SSLParameters.setNeedClientAuth(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