Package org.eclipse.ecf.core.security
Interface SSLContextFactory
- All Known Implementing Classes:
ECFSSLContextFactory
public interface SSLContextFactory
This class exposes three legacy static methods from the
SSLContext
class as
methods on an implementing instance. Implementing instances should be registered
as OSGi services.- Since:
- 3.12
-
Method Summary
Modifier and TypeMethodDescriptionSee SSLContext.getDefault()
NOTE: Rather than the using the {@link #SSLContext.setDefault SSLContext.setDefault(SSLContext)} to set the default SSLContext as described in the SSLContext.getDefault() javadocs, the default for the implementer is set upon construction of the service instance.getInstance
(String protocol) getInstance
(String protocol, String providerName)
-
Method Details
-
getDefault
See SSLContext.getDefault()
NOTE: Rather than the using the {@link #SSLContext.setDefault SSLContext.setDefault(SSLContext)} to set the default SSLContext as described in the SSLContext.getDefault() javadocs, the default for the implementer is set upon construction of the service instance. -
getInstance
-
getInstance
SSLContext getInstance(String protocol, String providerName) throws NoSuchAlgorithmException, NoSuchProviderException
-