public interface BCSSLEngine
SSLEngine
implementations.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getApplicationProtocol() |
BCApplicationProtocolSelector<javax.net.ssl.SSLEngine> |
getBCHandshakeApplicationProtocolSelector() |
BCExtendedSSLSession |
getBCHandshakeSession() |
BCExtendedSSLSession |
getBCSession() |
BCSSLConnection |
getConnection()
Returns an accessor for extended SSL connection data.
|
java.lang.String |
getHandshakeApplicationProtocol() |
BCSSLParameters |
getParameters()
Returns a
BCSSLParameters with properties reflecting the current configuration. |
void |
setBCHandshakeApplicationProtocolSelector(BCApplicationProtocolSelector<javax.net.ssl.SSLEngine> selector) |
void |
setBCSessionToResume(BCExtendedSSLSession session) |
void |
setParameters(BCSSLParameters parameters)
Sets parameters according to the properties in a
BCSSLParameters . |
java.lang.String getApplicationProtocol()
BCApplicationProtocolSelector<javax.net.ssl.SSLEngine> getBCHandshakeApplicationProtocolSelector()
void setBCHandshakeApplicationProtocolSelector(BCApplicationProtocolSelector<javax.net.ssl.SSLEngine> selector)
void setBCSessionToResume(BCExtendedSSLSession session)
BCExtendedSSLSession getBCHandshakeSession()
BCExtendedSSLSession getBCSession()
BCSSLConnection getConnection()
BCSSLSocket.getConnection()
this method does not block until handshaking is complete.
Until the initial handshake has completed, this method returns null
.BCSSLConnection
instance.java.lang.String getHandshakeApplicationProtocol()
BCSSLParameters getParameters()
BCSSLParameters
with properties reflecting the current configuration.parameters
void setParameters(BCSSLParameters parameters)
BCSSLParameters
.
Note that any properties set to null will be ignored, which will leave the corresponding settings unchanged.
parameters
- the parameters
to setjava.lang.IllegalArgumentException
- if the cipherSuites or protocols properties contain unsupported values