Package org.wildfly.security.ssl
Class JDKSpecific
- java.lang.Object
-
- org.wildfly.security.ssl.JDKSpecific
-
final class JDKSpecific extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private static Method
SSLENGINE_GET_APPLICATION_PROTOCOL
private static Method
SSLENGINE_GET_HANDSHAKE_APPLICATION_PROTOCOL
private static Method
SSLENGINE_GET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
private static Method
SSLENGINE_SET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
private static Method
SSLPARAMETERS_GET_APPLICATION_PROTOCOLS
private static Method
SSLPARAMETERS_SET_APPLICATION_PROTOCOLS
private static Method
SSLSOCKET_GET_APPLICATION_PROTOCOL
private static Method
SSLSOCKET_GET_HANDSHAKE_APPLICATION_PROTOCOL
private static Method
SSLSOCKET_GET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
private static Method
SSLSOCKET_SET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
-
Constructor Summary
Constructors Constructor Description JDKSpecific()
-
Method Summary
-
-
-
Field Detail
-
SSLENGINE_GET_APPLICATION_PROTOCOL
private static final Method SSLENGINE_GET_APPLICATION_PROTOCOL
-
SSLENGINE_GET_HANDSHAKE_APPLICATION_PROTOCOL
private static final Method SSLENGINE_GET_HANDSHAKE_APPLICATION_PROTOCOL
-
SSLENGINE_SET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
private static final Method SSLENGINE_SET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
-
SSLENGINE_GET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
private static final Method SSLENGINE_GET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
-
SSLPARAMETERS_GET_APPLICATION_PROTOCOLS
private static final Method SSLPARAMETERS_GET_APPLICATION_PROTOCOLS
-
SSLPARAMETERS_SET_APPLICATION_PROTOCOLS
private static final Method SSLPARAMETERS_SET_APPLICATION_PROTOCOLS
-
SSLSOCKET_GET_APPLICATION_PROTOCOL
private static final Method SSLSOCKET_GET_APPLICATION_PROTOCOL
-
SSLSOCKET_GET_HANDSHAKE_APPLICATION_PROTOCOL
private static final Method SSLSOCKET_GET_HANDSHAKE_APPLICATION_PROTOCOL
-
SSLSOCKET_SET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
private static final Method SSLSOCKET_SET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
-
SSLSOCKET_GET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
private static final Method SSLSOCKET_GET_HANDSHAKE_APPLICATION_PROTOCOL_SELECTOR
-
-
Method Detail
-
getMethodOrNull
private static Method getMethodOrNull(Class clazz, String methodName, Class... parameterTypes)
-
setHandshakeApplicationProtocolSelector
static void setHandshakeApplicationProtocolSelector(SSLEngine sslEngine, BiFunction<SSLEngine,List<String>,String> selector)
-
getHandshakeApplicationProtocolSelector
static BiFunction<SSLEngine,List<String>,String> getHandshakeApplicationProtocolSelector(SSLEngine sslEngine)
-
getApplicationProtocols
static String[] getApplicationProtocols(SSLParameters parameters)
-
setApplicationProtocols
static void setApplicationProtocols(SSLParameters parameters, String[] protocols)
-
setSSLParameters
static SSLParameters setSSLParameters(SSLParameters original)
Copies SSLParameters' fields available in java 8.- Parameters:
original
- SSLParameters that should be applied to new instance- Returns:
- instance of SSLParameters with fields copied from original
-
setHandshakeApplicationProtocolSelector
static void setHandshakeApplicationProtocolSelector(SSLSocket socket, BiFunction<SSLSocket,List<String>,String> selector)
-
-