Class SslContext
java.lang.Object
org.apache.activemq.broker.SslContext
- Direct Known Subclasses:
CompatibleSslContext, DefaultSslContext, ThreadLocalSslContext
Provides an
SSLContext for SSL/TLS transport connectors and
network connectors.
Implementations may be static (see ThreadLocalSslContext) or
support runtime certificate reload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SslContextDeprecated.Use explicit parameter passing instead of ThreadLocal propagation.abstract SSLContextReturns a fully initialisedSSLContextready for use by transport factories.voidreload()Reload certificates from the underlying key/trust material.static voidDeprecated.Use explicit parameter passing instead of ThreadLocal propagation.
-
Constructor Details
-
SslContext
public SslContext()
-
-
Method Details
-
getSSLContext
public abstract SSLContext getSSLContext() throws NoSuchProviderException, NoSuchAlgorithmException, KeyManagementExceptionReturns a fully initialisedSSLContextready for use by transport factories. -
reload
-
setCurrentSslContext
Deprecated.Use explicit parameter passing instead of ThreadLocal propagation. -
getCurrentSslContext
Deprecated.Use explicit parameter passing instead of ThreadLocal propagation.
-