| java.lang.Object org.apache.harmony.xnet.provider.jsse.SSLParameters
SSLParameters | public class SSLParameters (Code) | | The instances of this class incapsulate all the info
about enabled cipher suites and protocols,
as well as the information about client/server mode of
ssl socket, whether it require/want client authentication or not,
and controls whether new SSL sessions may be established by this
socket or not.
|
SSLParameters | protected SSLParameters(KeyManager[] kms, TrustManager[] tms, SecureRandom sr, SSLSessionContextImpl clientSessionContext, SSLSessionContextImpl serverSessionContext) throws KeyManagementException(Code) | | Initializes the parameters. Naturally this constructor is used
in SSLContextImpl.engineInit method which dirrectly passes its
parameters. In other words this constructor holds all
the functionality provided by SSLContext.init method.
See Also: SSLContext.init(KeyManager,TrustManager,SecureRandom) See Also: for more information |
clone | protected Object clone()(Code) | | Returns the clone of this object.
the clone. |
getEnableSessionCreation | protected boolean getEnableSessionCreation()(Code) | | Returns the value indicating if the peer with this parameters
allowed to cteate new SSL session
|
getEnabledCipherSuites | protected String[] getEnabledCipherSuites()(Code) | | the names of enabled cipher suites |
getEnabledProtocols | protected String[] getEnabledProtocols()(Code) | | the set of enabled protocols |
getNeedClientAuth | protected boolean getNeedClientAuth()(Code) | | Returns the value indicating if the peer with this parameters tuned
to require client authentication
|
getUseClientMode | protected boolean getUseClientMode()(Code) | | Returns the value indicating if the parameters configured to work
in client mode.
|
getWantClientAuth | protected boolean getWantClientAuth()(Code) | | Returns the value indicating if the peer with this parameters
tuned to request client authentication
|
setEnableSessionCreation | protected void setEnableSessionCreation(boolean flag)(Code) | | Allows/disallows the peer holding this parameters to
create new SSL session
|
setEnabledCipherSuites | protected void setEnabledCipherSuites(String[] suites)(Code) | | Sets the set of available cipher suites for use in SSL connection.
suites: String[] |
setEnabledProtocols | protected void setEnabledProtocols(String[] protocols)(Code) | | Sets the set of available protocols for use in SSL connection.
suites: String[] |
setNeedClientAuth | protected void setNeedClientAuth(boolean need)(Code) | | Tunes the peer holding this parameters to require client authentication
|
setUseClientMode | protected void setUseClientMode(boolean mode)(Code) | | Tunes the peer holding this parameters to work in client mode.
Parameters: mode - if the peer is configured to work in client mode |
setWantClientAuth | protected void setWantClientAuth(boolean want)(Code) | | Tunes the peer holding this parameters to request client authentication
|
|
|