Package akka.stream
Class TLSClientAuth
- java.lang.Object
-
- akka.stream.TLSClientAuth
-
- Direct Known Subclasses:
TLSClientAuth.Need$
,TLSClientAuth.None$
,TLSClientAuth.Want$
public abstract class TLSClientAuth extends java.lang.Object
An SSLEngine can either demand, allow or ignore its peer’s authentication (via certificates), whereNeed
will fail the handshake if the peer does not provide valid credentials,Want
allows the peer to send credentials and verifies them if provided, andNone
disables peer certificate verification.See the documentation for
SSLEngine::setWantClientAuth
for more information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TLSClientAuth.Need$
static class
TLSClientAuth.None$
static class
TLSClientAuth.Want$
-
Constructor Summary
Constructors Constructor Description TLSClientAuth()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TLSClientAuth
need()
static TLSClientAuth
none()
static TLSClientAuth
want()
-
-
-
Method Detail
-
none
public static TLSClientAuth none()
-
want
public static TLSClientAuth want()
-
need
public static TLSClientAuth need()
-
-