public interface BCSSLSocket
SSLSocket
implementations.Modifier and Type | Method and Description |
---|---|
BCExtendedSSLSession |
getBCHandshakeSession() |
BCSSLConnection |
getConnection()
Returns an accessor for extended SSL connection data.
|
BCSSLParameters |
getParameters()
Returns a
BCSSLParameters with properties reflecting the current configuration. |
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 . |
BCExtendedSSLSession getBCHandshakeSession()
BCSSLConnection getConnection()
null
.BCSSLConnection
instance.BCSSLParameters getParameters()
BCSSLParameters
with properties reflecting the current configuration.parameters
void 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