public final class DefaultSSLContextImpl extends OpenSSLContextImpl
OpenSSLContextImpl.TLSv1, OpenSSLContextImpl.TLSv11, OpenSSLContextImpl.TLSv12sslParameters| Constructor and Description |
|---|
DefaultSSLContextImpl()
DefaultSSLContextImpl delegates the work to the super class since there
is no way to put a synchronized around both the call to super and the
rest of this constructor to guarantee that we don't have races in
creating the state shared between all default SSLContexts.
|
| Modifier and Type | Method and Description |
|---|---|
void |
engineInit(KeyManager[] kms,
TrustManager[] tms,
SecureRandom sr)
Initializes this
SSLContext instance. |
engineCreateSSLEngine, engineCreateSSLEngine, engineGetClientSessionContext, engineGetServerSessionContext, engineGetServerSocketFactory, engineGetSocketFactory, getPreferredengineGetDefaultSSLParameters, engineGetSupportedSSLParameterspublic DefaultSSLContextImpl()
throws GeneralSecurityException,
IOException
GeneralSecurityExceptionIOExceptionpublic void engineInit(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) throws KeyManagementException
OpenSSLContextImplSSLContext instance. All of the arguments are
optional, and the security providers will be searched for the required
implementations of the needed algorithms.engineInit in class OpenSSLContextImplkms - the key sources or nulltms - the trust decision sources or nullsr - the randomness source or nullKeyManagementException - if initializing this instance fails