public interface BCSSLSocket
SSLSocket
implementations.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getApplicationProtocol() |
BCApplicationProtocolSelector<javax.net.ssl.SSLSocket> |
getBCHandshakeApplicationProtocolSelector() |
BCExtendedSSLSession |
getBCHandshakeSession() |
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.SSLSocket> selector) |
void |
setHost(java.lang.String host)
Allows explicit setting of the 'host'
String when the SocketFactory methods
that include it as an argument are not used. |
void |
setParameters(BCSSLParameters parameters)
Sets parameters according to the properties in a
BCSSLParameters. |
java.lang.String getApplicationProtocol()
BCApplicationProtocolSelector<javax.net.ssl.SSLSocket> getBCHandshakeApplicationProtocolSelector()
void setBCHandshakeApplicationProtocolSelector(BCApplicationProtocolSelector<javax.net.ssl.SSLSocket> selector)
BCExtendedSSLSession getBCHandshakeSession()
BCSSLConnection getConnection()
null.BCSSLConnection instance.java.lang.String getHandshakeApplicationProtocol()
BCSSLParameters getParameters()
BCSSLParameters with properties reflecting the current configuration.parametersvoid setHost(java.lang.String host)
String when the SocketFactory methods
that include it as an argument are not used.
Must be called prior to attempting to connect the socket to have any effect.
host - the server host name with which to connect, or null for the loopback
address.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