java.lang.Object
java.net.Socket
javax.net.ssl.SSLSocket
nl.altindag.ssl.socket.DelegatingSSLSocket
nl.altindag.ssl.socket.FenixSSLSocket
- All Implemented Interfaces:
Closeable,AutoCloseable
NOTE:
Please don't use this class directly as it is part of the internal API. Class name and methods can be changed any time.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final nl.altindag.sude.Loggerprivate final SSLParametersFields inherited from class nl.altindag.ssl.socket.DelegatingSSLSocket
socket -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]String[]booleanbooleanvoidsetEnabledCipherSuites(String[] suites) voidsetEnabledProtocols(String[] protocols) voidsetNeedClientAuth(boolean need) voidsetSSLParameters(SSLParameters params) voidsetWantClientAuth(boolean want) private <T> TupdateAndGet(Supplier<T> supplier) Methods inherited from class nl.altindag.ssl.socket.DelegatingSSLSocket
addHandshakeCompletedListener, bind, close, connect, connect, getChannel, getEnableSessionCreation, getHandshakeSession, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSession, getSoLinger, getSoTimeout, getSupportedCipherSuites, getSupportedProtocols, getTcpNoDelay, getTrafficClass, getUseClientMode, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, removeHandshakeCompletedListener, sendUrgentData, setEnableSessionCreation, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, setUseClientMode, shutdownInput, shutdownOutput, startHandshake, toStringMethods inherited from class javax.net.ssl.SSLSocket
getApplicationProtocol, getHandshakeApplicationProtocol, getHandshakeApplicationProtocolSelector, setHandshakeApplicationProtocolSelectorMethods inherited from class java.net.Socket
getOption, setOption, setSocketImplFactory, supportedOptions
-
Field Details
-
LOGGER
private static final nl.altindag.sude.Logger LOGGER -
sslParameters
-
-
Constructor Details
-
FenixSSLSocket
-
-
Method Details
-
setSSLParameters
- Overrides:
setSSLParametersin classDelegatingSSLSocket
-
setEnabledCipherSuites
- Overrides:
setEnabledCipherSuitesin classDelegatingSSLSocket
-
setEnabledProtocols
- Overrides:
setEnabledProtocolsin classDelegatingSSLSocket
-
setNeedClientAuth
public void setNeedClientAuth(boolean need) - Overrides:
setNeedClientAuthin classDelegatingSSLSocket
-
setWantClientAuth
public void setWantClientAuth(boolean want) - Overrides:
setWantClientAuthin classDelegatingSSLSocket
-
getEnabledCipherSuites
- Overrides:
getEnabledCipherSuitesin classDelegatingSSLSocket
-
getNeedClientAuth
public boolean getNeedClientAuth()- Overrides:
getNeedClientAuthin classDelegatingSSLSocket
-
getEnabledProtocols
- Overrides:
getEnabledProtocolsin classDelegatingSSLSocket
-
getWantClientAuth
public boolean getWantClientAuth()- Overrides:
getWantClientAuthin classDelegatingSSLSocket
-
getSSLParameters
- Overrides:
getSSLParametersin classDelegatingSSLSocket
-
updateAndGet
-