Lingua

SSLSocket.NeedClientAuth Proprietà

Definizione

Ottiene o imposta un valore che indica se questo socket richiede l'autenticazione client.

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

Valore della proprietà

true se è necessaria l'autenticazione client; in caso contrario, false. Un valore false può anche significare che l'autenticazione client è richiesta ma non obbligatoria.

Attributi

Commenti

Restituisce true se il socket richiederà l'autenticazione client. Questa opzione è utile solo per i socket in modalità server.

L'impostazione di questa proprietà cancella WantClientAuth, anche quando il valore è false.

Java informazioni di riferimento per javax.net.ssl.SSLSocket.getNeedClientAuth.

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a