Package org.apache.pulsar.jetty.tls
Class JettySslContextFactory
java.lang.Object
org.apache.pulsar.jetty.tls.JettySslContextFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.jetty.util.ssl.SslContextFactorycreateServerSslContext(String sslProviderString, boolean tlsAllowInsecureConnection, String tlsTrustCertsFilePath, String tlsCertificateFilePath, String tlsKeyFilePath, boolean tlsRequireTrustedClientCertOnConnect, Set<String> ciphers, Set<String> protocols, long certRefreshInSec) static org.eclipse.jetty.util.ssl.SslContextFactory.ServercreateServerSslContextWithKeystore(String sslProviderString, String keyStoreTypeString, String keyStore, String keyStorePassword, boolean allowInsecureConnection, String trustStoreTypeString, String trustStore, String trustStorePassword, boolean requireTrustedClientCertOnConnect, Set<String> ciphers, Set<String> protocols, long certRefreshInSec)
-
Constructor Details
-
JettySslContextFactory
public JettySslContextFactory()
-
-
Method Details
-
createServerSslContextWithKeystore
public static org.eclipse.jetty.util.ssl.SslContextFactory.Server createServerSslContextWithKeystore(String sslProviderString, String keyStoreTypeString, String keyStore, String keyStorePassword, boolean allowInsecureConnection, String trustStoreTypeString, String trustStore, String trustStorePassword, boolean requireTrustedClientCertOnConnect, Set<String> ciphers, Set<String> protocols, long certRefreshInSec) -
createServerSslContext
public static org.eclipse.jetty.util.ssl.SslContextFactory createServerSslContext(String sslProviderString, boolean tlsAllowInsecureConnection, String tlsTrustCertsFilePath, String tlsCertificateFilePath, String tlsKeyFilePath, boolean tlsRequireTrustedClientCertOnConnect, Set<String> ciphers, Set<String> protocols, long certRefreshInSec)
-