public class ALPNHackSSLEngine extends SSLEngine
Modifier and Type | Field and Description |
---|---|
static boolean | ENABLED |
Constructor and Description |
---|
ALPNHackSSLEngine(SSLEngine delegate) |
getHandshakeSession, getPeerHost, getPeerPort, getSSLParameters, setSSLParameters, unwrap, unwrap, wrap, wrap
public ALPNHackSSLEngine(SSLEngine delegate)
public static boolean isEnabled(SSLEngine engine)
public SSLEngineResult wrap(ByteBuffer[] byteBuffers, int i, int i1, ByteBuffer byteBuffer) throws SSLException
wrap
in class SSLEngine
SSLException
public SSLEngineResult unwrap(ByteBuffer dataToUnwrap, ByteBuffer[] byteBuffers, int i, int i1) throws SSLException
unwrap
in class SSLEngine
SSLException
public Runnable getDelegatedTask()
getDelegatedTask
in class SSLEngine
public void closeInbound() throws SSLException
closeInbound
in class SSLEngine
SSLException
public boolean isInboundDone()
isInboundDone
in class SSLEngine
public void closeOutbound()
closeOutbound
in class SSLEngine
public boolean isOutboundDone()
isOutboundDone
in class SSLEngine
public String[] getSupportedCipherSuites()
getSupportedCipherSuites
in class SSLEngine
public String[] getEnabledCipherSuites()
getEnabledCipherSuites
in class SSLEngine
public void setEnabledCipherSuites(String[] strings)
setEnabledCipherSuites
in class SSLEngine
public String[] getSupportedProtocols()
getSupportedProtocols
in class SSLEngine
public String[] getEnabledProtocols()
getEnabledProtocols
in class SSLEngine
public void setEnabledProtocols(String[] strings)
setEnabledProtocols
in class SSLEngine
public SSLSession getSession()
getSession
in class SSLEngine
public void beginHandshake() throws SSLException
beginHandshake
in class SSLEngine
SSLException
public SSLEngineResult.HandshakeStatus getHandshakeStatus()
getHandshakeStatus
in class SSLEngine
public void setUseClientMode(boolean b)
setUseClientMode
in class SSLEngine
public boolean getUseClientMode()
getUseClientMode
in class SSLEngine
public void setNeedClientAuth(boolean b)
setNeedClientAuth
in class SSLEngine
public boolean getNeedClientAuth()
getNeedClientAuth
in class SSLEngine
public void setWantClientAuth(boolean b)
setWantClientAuth
in class SSLEngine
public boolean getWantClientAuth()
getWantClientAuth
in class SSLEngine
public void setEnableSessionCreation(boolean b)
setEnableSessionCreation
in class SSLEngine
public boolean getEnableSessionCreation()
getEnableSessionCreation
in class SSLEngine
public void setApplicationProtocols(List<String> applicationProtocols)
applicationProtocols
- public List<String> getApplicationProtocols()
public String getSelectedApplicationProtocol()
Copyright © 2020 JBoss by Red Hat. All rights reserved.