Package org.wildfly.security.ssl
Class SNISSLEngine.InitialState
- java.lang.Object
- 
- javax.net.ssl.SSLEngine
- 
- org.wildfly.security.ssl.SNISSLEngine.InitialState
 
 
- 
- Enclosing class:
- SNISSLEngine
 
 class SNISSLEngine.InitialState extends SSLEngine 
- 
- 
Field SummaryFields Modifier and Type Field Description private String[]enabledProtocolsprivate String[]enabledSuitesprivate Function<SSLContext,SSLEngine>engineFunctionprivate AtomicIntegerflagsprivate SSLSessionhandshakeSessionprivate intpacketBufferSizeprivate SNIContextMatcherselector
 - 
Constructor SummaryConstructors Constructor Description InitialState(SNIContextMatcher selector, Function<SSLContext,SSLEngine> engineFunction)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginHandshake()voidcloseInbound()voidcloseOutbound()RunnablegetDelegatedTask()String[]getEnabledCipherSuites()String[]getEnabledProtocols()booleangetEnableSessionCreation()SSLSessiongetHandshakeSession()SSLEngineResult.HandshakeStatusgetHandshakeStatus()booleangetNeedClientAuth()SSLSessiongetSession()String[]getSupportedCipherSuites()String[]getSupportedProtocols()booleangetUseClientMode()booleangetWantClientAuth()booleanisInboundDone()booleanisOutboundDone()voidsetEnabledCipherSuites(String[] suites)voidsetEnabledProtocols(String[] protocols)voidsetEnableSessionCreation(boolean flag)voidsetNeedClientAuth(boolean need)voidsetUseClientMode(boolean mode)voidsetWantClientAuth(boolean want)SSLEngineResultunwrap(ByteBuffer src, ByteBuffer[] dsts, int offset, int length)SSLEngineResultwrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst)- 
Methods inherited from class javax.net.ssl.SSLEnginegetApplicationProtocol, getHandshakeApplicationProtocol, getHandshakeApplicationProtocolSelector, getPeerHost, getPeerPort, getSSLParameters, setHandshakeApplicationProtocolSelector, setSSLParameters, unwrap, unwrap, wrap, wrap
 
- 
 
- 
- 
- 
Field Detail- 
selectorprivate final SNIContextMatcher selector 
 - 
flagsprivate final AtomicInteger flags 
 - 
engineFunctionprivate final Function<SSLContext,SSLEngine> engineFunction 
 - 
packetBufferSizeprivate int packetBufferSize 
 - 
enabledSuitesprivate String[] enabledSuites 
 - 
enabledProtocolsprivate String[] enabledProtocols 
 - 
handshakeSessionprivate final SSLSession handshakeSession 
 
- 
 - 
Constructor Detail- 
InitialStateInitialState(SNIContextMatcher selector, Function<SSLContext,SSLEngine> engineFunction) 
 
- 
 - 
Method Detail- 
getHandshakeSessionpublic SSLSession getHandshakeSession() - Overrides:
- getHandshakeSessionin class- SSLEngine
 
 - 
wrappublic SSLEngineResult wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst) throws SSLException - Specified by:
- wrapin class- SSLEngine
- Throws:
- SSLException
 
 - 
unwrappublic SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, int offset, int length) throws SSLException - Specified by:
- unwrapin class- SSLEngine
- Throws:
- SSLException
 
 - 
getDelegatedTaskpublic Runnable getDelegatedTask() - Specified by:
- getDelegatedTaskin class- SSLEngine
 
 - 
closeInboundpublic void closeInbound() throws SSLException- Specified by:
- closeInboundin class- SSLEngine
- Throws:
- SSLException
 
 - 
isInboundDonepublic boolean isInboundDone() - Specified by:
- isInboundDonein class- SSLEngine
 
 - 
closeOutboundpublic void closeOutbound() - Specified by:
- closeOutboundin class- SSLEngine
 
 - 
isOutboundDonepublic boolean isOutboundDone() - Specified by:
- isOutboundDonein class- SSLEngine
 
 - 
getSupportedCipherSuitespublic String[] getSupportedCipherSuites() - Specified by:
- getSupportedCipherSuitesin class- SSLEngine
 
 - 
getEnabledCipherSuitespublic String[] getEnabledCipherSuites() - Specified by:
- getEnabledCipherSuitesin class- SSLEngine
 
 - 
setEnabledCipherSuitespublic void setEnabledCipherSuites(String[] suites) - Specified by:
- setEnabledCipherSuitesin class- SSLEngine
 
 - 
getSupportedProtocolspublic String[] getSupportedProtocols() - Specified by:
- getSupportedProtocolsin class- SSLEngine
 
 - 
getEnabledProtocolspublic String[] getEnabledProtocols() - Specified by:
- getEnabledProtocolsin class- SSLEngine
 
 - 
setEnabledProtocolspublic void setEnabledProtocols(String[] protocols) - Specified by:
- setEnabledProtocolsin class- SSLEngine
 
 - 
getSessionpublic SSLSession getSession() - Specified by:
- getSessionin class- SSLEngine
 
 - 
beginHandshakepublic void beginHandshake() throws SSLException- Specified by:
- beginHandshakein class- SSLEngine
- Throws:
- SSLException
 
 - 
getHandshakeStatuspublic SSLEngineResult.HandshakeStatus getHandshakeStatus() - Specified by:
- getHandshakeStatusin class- SSLEngine
 
 - 
setUseClientModepublic void setUseClientMode(boolean mode) - Specified by:
- setUseClientModein class- SSLEngine
 
 - 
getUseClientModepublic boolean getUseClientMode() - Specified by:
- getUseClientModein class- SSLEngine
 
 - 
setNeedClientAuthpublic void setNeedClientAuth(boolean need) - Specified by:
- setNeedClientAuthin class- SSLEngine
 
 - 
getNeedClientAuthpublic boolean getNeedClientAuth() - Specified by:
- getNeedClientAuthin class- SSLEngine
 
 - 
setWantClientAuthpublic void setWantClientAuth(boolean want) - Specified by:
- setWantClientAuthin class- SSLEngine
 
 - 
getWantClientAuthpublic boolean getWantClientAuth() - Specified by:
- getWantClientAuthin class- SSLEngine
 
 - 
setEnableSessionCreationpublic void setEnableSessionCreation(boolean flag) - Specified by:
- setEnableSessionCreationin class- SSLEngine
 
 - 
getEnableSessionCreationpublic boolean getEnableSessionCreation() - Specified by:
- getEnableSessionCreationin class- SSLEngine
 
 
- 
 
-