Class OpenSslX509TrustManagerWrapper
java.lang.Object
io.netty.handler.ssl.OpenSslX509TrustManagerWrapper
Utility which allows to wrap
X509TrustManager implementations with the internal implementation used by
SSLContextImpl that provides extended verification.
This is really a "hack" until there is an official API as requested on the in
JDK-8210843.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interfaceprivate static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final OpenSslX509TrustManagerWrapper.TrustManagerWrapperprivate static final InternalLoggerprivate static final OpenSslX509TrustManagerWrapper.TrustManagerWrapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static booleanprivate static SSLContext(package private) static X509TrustManagerwrapIfNeeded(X509TrustManager trustManager)
-
Field Details
-
LOGGER
-
WRAPPER
-
DEFAULT
-
-
Constructor Details
-
OpenSslX509TrustManagerWrapper
private OpenSslX509TrustManagerWrapper()
-
-
Method Details
-
isWrappingSupported
static boolean isWrappingSupported() -
wrapIfNeeded
-
newSSLContext
-