Package org.conscrypt
Class DefaultSSLContextImpl
- java.lang.Object
-
- javax.net.ssl.SSLContextSpi
-
- org.conscrypt.OpenSSLContextImpl
-
- org.conscrypt.DefaultSSLContextImpl
-
- Direct Known Subclasses:
DefaultSSLContextImpl.TLSv12,DefaultSSLContextImpl.TLSv13
@Internal public class DefaultSSLContextImpl extends OpenSSLContextImpl
Support class for this package.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultSSLContextImpl.TLSv12static classDefaultSSLContextImpl.TLSv13-
Nested classes/interfaces inherited from class org.conscrypt.OpenSSLContextImpl
OpenSSLContextImpl.TLSv1, OpenSSLContextImpl.TLSv11
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidengineInit(KeyManager[] kms, TrustManager[] tms, SecureRandom sr)Initializes thisSSLContextinstance.-
Methods inherited from class org.conscrypt.OpenSSLContextImpl
engineCreateSSLEngine, engineCreateSSLEngine, engineGetClientSessionContext, engineGetServerSessionContext, engineGetServerSocketFactory, engineGetSocketFactory
-
Methods inherited from class javax.net.ssl.SSLContextSpi
engineGetDefaultSSLParameters, engineGetSupportedSSLParameters
-
-
-
-
Method Detail
-
engineInit
public void engineInit(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) throws KeyManagementException
Description copied from class:OpenSSLContextImplInitializes thisSSLContextinstance. All of the arguments are optional, and the security providers will be searched for the required implementations of the needed algorithms.- Overrides:
engineInitin classOpenSSLContextImpl- Parameters:
kms- the key sources ornulltms- the trust decision sources ornullsr- the randomness source ornull- Throws:
KeyManagementException- if initializing this instance fails
-
-