Class SslContextFactory


  • public class SslContextFactory
    extends java.lang.Object
    SslContextFactory.
    Since:
    5.3
    Author:
    Tristan Tarrant
    • Field Detail

      • DEFAULT_SSL_PROTOCOL

        public static final java.lang.String DEFAULT_SSL_PROTOCOL
        See Also:
        Constant Field Values
    • Constructor Detail

      • SslContextFactory

        public SslContextFactory()
    • Method Detail

      • keyStoreFileName

        public SslContextFactory keyStoreFileName​(java.lang.String keyStoreFileName)
      • keyStorePassword

        public SslContextFactory keyStorePassword​(java.lang.String keyStorePassword)
      • keyStorePassword

        public SslContextFactory keyStorePassword​(char[] keyStorePassword)
      • keyStoreType

        public SslContextFactory keyStoreType​(java.lang.String keyStoreType)
      • trustStore

        public SslContextFactory trustStore​(java.security.KeyStore trustStore)
      • trustStoreFileName

        public SslContextFactory trustStoreFileName​(java.lang.String trustStoreFileName)
      • trustStorePassword

        public SslContextFactory trustStorePassword​(java.lang.String trustStorePassword)
      • trustStorePassword

        public SslContextFactory trustStorePassword​(char[] trustStorePassword)
      • trustStoreType

        public SslContextFactory trustStoreType​(java.lang.String trustStoreType)
      • sslProtocol

        public SslContextFactory sslProtocol​(java.lang.String sslProtocol)
      • classLoader

        public SslContextFactory classLoader​(java.lang.ClassLoader classLoader)
      • initializeContext

        public void initializeContext​(javax.net.ssl.SSLContext sslContext)
      • findProvider

        public static java.security.Provider findProvider​(java.lang.String providerName,
                                                          java.lang.String serviceType,
                                                          java.lang.String algorithm)
      • discoverSecurityProviders

        public static java.security.Provider[] discoverSecurityProviders​(java.lang.ClassLoader classLoader)