Package com.rabbitmq.client
Interface SslContextFactory
-
public interface SslContextFactory
A factory to createSSLContext
s.- Since:
- 5.0.0
- See Also:
ConnectionFactory.setSslContextFactory(SslContextFactory)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.net.ssl.SSLContext
create(java.lang.String name)
Create aSSLContext
for a given name.
-
-
-
Method Detail
-
create
javax.net.ssl.SSLContext create(java.lang.String name)
Create aSSLContext
for a given name. The name is typically the name of the connection.- Parameters:
name
- name of the connection the SSLContext is used for- Returns:
- the SSLContext for this name
- See Also:
ConnectionFactory.newConnection(String)
-
-