Package org.apache.pekko.stream
Class TLSClientAuth
- java.lang.Object
-
- org.apache.pekko.stream.TLSClientAuth
-
- Direct Known Subclasses:
TLSClientAuth.Need$,TLSClientAuth.None$,TLSClientAuth.Want$
public abstract class TLSClientAuth extends java.lang.ObjectAn SSLEngine can either demand, allow or ignore its peer’s authentication (via certificates), whereNeedwill fail the handshake if the peer does not provide valid credentials,Wantallows the peer to send credentials and verifies them if provided, andNonedisables peer certificate verification.See the documentation for
SSLEngine::setWantClientAuthfor more information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTLSClientAuth.Need$static classTLSClientAuth.None$static classTLSClientAuth.Want$
-
Constructor Summary
Constructors Constructor Description TLSClientAuth()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TLSClientAuthneed()static TLSClientAuthnone()static TLSClientAuthwant()
-
-
-
Method Detail
-
none
public static TLSClientAuth none()
-
want
public static TLSClientAuth want()
-
need
public static TLSClientAuth need()
-
-