public abstract class TLSClientAuth
extends java.lang.Object
Need
will fail the handshake if the peer does
not provide valid credentials, Want
allows the peer to send credentials
and verifies them if provided, and None
disables peer certificate
verification.
See the documentation for SSLEngine::setWantClientAuth
for more information.
Modifier and Type | Class and Description |
---|---|
static class |
TLSClientAuth.Need$ |
static class |
TLSClientAuth.None$ |
static class |
TLSClientAuth.Want$ |
Constructor and Description |
---|
TLSClientAuth() |
Modifier and Type | Method and Description |
---|---|
static TLSClientAuth |
need() |
static TLSClientAuth |
none() |
static TLSClientAuth |
want() |
public static TLSClientAuth none()
public static TLSClientAuth want()
public static TLSClientAuth need()