JavaScript is disabled on your browser.
Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method
io.netty.handler.ssl

Class JdkSslClientContext

    • Constructor Detail

      • JdkSslClientContext

        @Deprecated
        public JdkSslClientContext()
         throws javax.net.ssl.SSLException
        Deprecated. use SslContextBuilder
        Creates a new instance.
        Throws:
        javax.net.ssl.SSLException
      • JdkSslClientContext

        @Deprecated
        public JdkSslClientContext(java.io.File certChainFile)
         throws javax.net.ssl.SSLException
        Deprecated. use SslContextBuilder
        Creates a new instance.
        Parameters:
        certChainFile - an X.509 certificate chain file in PEM format. null to use the system default
        Throws:
        javax.net.ssl.SSLException
      • JdkSslClientContext

        @Deprecated
        public JdkSslClientContext(javax.net.ssl.TrustManagerFactory trustManagerFactory)
         throws javax.net.ssl.SSLException
        Deprecated. use SslContextBuilder
        Creates a new instance.
        Parameters:
        trustManagerFactory - the TrustManagerFactory that provides the TrustManagers that verifies the certificates sent from servers. null to use the default.
        Throws:
        javax.net.ssl.SSLException
      • JdkSslClientContext

        @Deprecated
        public JdkSslClientContext(java.io.File certChainFile,
         javax.net.ssl.TrustManagerFactory trustManagerFactory)
         throws javax.net.ssl.SSLException
        Deprecated. use SslContextBuilder
        Creates a new instance.
        Parameters:
        certChainFile - an X.509 certificate chain file in PEM format. null to use the system default
        trustManagerFactory - the TrustManagerFactory that provides the TrustManagers that verifies the certificates sent from servers. null to use the default.
        Throws:
        javax.net.ssl.SSLException
      • JdkSslClientContext

        @Deprecated
        public JdkSslClientContext(java.io.File certChainFile,
         javax.net.ssl.TrustManagerFactory trustManagerFactory,
         java.lang.Iterable<java.lang.String> ciphers,
         java.lang.Iterable<java.lang.String> nextProtocols,
         long sessionCacheSize,
         long sessionTimeout)
         throws javax.net.ssl.SSLException
        Deprecated. use SslContextBuilder
        Creates a new instance.
        Parameters:
        certChainFile - an X.509 certificate chain file in PEM format. null to use the system default
        trustManagerFactory - the TrustManagerFactory that provides the TrustManagers that verifies the certificates sent from servers. null to use the default.
        ciphers - the cipher suites to enable, in the order of preference. null to use the default cipher suites.
        nextProtocols - the application layer protocols to accept, in the order of preference. null to disable TLS NPN/ALPN extension.
        sessionCacheSize - the size of the cache used for storing SSL session objects. 0 to use the default value.
        sessionTimeout - the timeout for the cached SSL session objects, in seconds. 0 to use the default value.
        Throws:
        javax.net.ssl.SSLException
      • JdkSslClientContext

        @Deprecated
        public JdkSslClientContext(java.io.File certChainFile,
         javax.net.ssl.TrustManagerFactory trustManagerFactory,
         java.lang.Iterable<java.lang.String> ciphers,
         CipherSuiteFilter cipherFilter,
         ApplicationProtocolConfig apn,
         long sessionCacheSize,
         long sessionTimeout)
         throws javax.net.ssl.SSLException
        Deprecated. use SslContextBuilder
        Creates a new instance.
        Parameters:
        certChainFile - an X.509 certificate chain file in PEM format. null to use the system default
        trustManagerFactory - the TrustManagerFactory that provides the TrustManagers that verifies the certificates sent from servers. null to use the default.
        ciphers - the cipher suites to enable, in the order of preference. null to use the default cipher suites.
        cipherFilter - a filter to apply over the supplied list of ciphers
        apn - Provides a means to configure parameters related to application protocol negotiation.
        sessionCacheSize - the size of the cache used for storing SSL session objects. 0 to use the default value.
        sessionTimeout - the timeout for the cached SSL session objects, in seconds. 0 to use the default value.
        Throws:
        javax.net.ssl.SSLException
      • JdkSslClientContext

        @Deprecated
        public JdkSslClientContext(java.io.File certChainFile,
         javax.net.ssl.TrustManagerFactory trustManagerFactory,
         java.lang.Iterable<java.lang.String> ciphers,
         CipherSuiteFilter cipherFilter,
         JdkApplicationProtocolNegotiator apn,
         long sessionCacheSize,
         long sessionTimeout)
         throws javax.net.ssl.SSLException
        Deprecated. use SslContextBuilder
        Creates a new instance.
        Parameters:
        certChainFile - an X.509 certificate chain file in PEM format. null to use the system default
        trustManagerFactory - the TrustManagerFactory that provides the TrustManagers that verifies the certificates sent from servers. null to use the default.
        ciphers - the cipher suites to enable, in the order of preference. null to use the default cipher suites.
        cipherFilter - a filter to apply over the supplied list of ciphers
        apn - Application Protocol Negotiator object.
        sessionCacheSize - the size of the cache used for storing SSL session objects. 0 to use the default value.
        sessionTimeout - the timeout for the cached SSL session objects, in seconds. 0 to use the default value.
        Throws:
        javax.net.ssl.SSLException
      • JdkSslClientContext

        @Deprecated
        public JdkSslClientContext(java.io.File trustCertCollectionFile,
         javax.net.ssl.TrustManagerFactory trustManagerFactory,
         java.io.File keyCertChainFile,
         java.io.File keyFile,
         java.lang.String keyPassword,
         javax.net.ssl.KeyManagerFactory keyManagerFactory,
         java.lang.Iterable<java.lang.String> ciphers,
         CipherSuiteFilter cipherFilter,
         ApplicationProtocolConfig apn,
         long sessionCacheSize,
         long sessionTimeout)
         throws javax.net.ssl.SSLException
        Deprecated. use SslContextBuilder
        Creates a new instance.
        Parameters:
        trustCertCollectionFile - an X.509 certificate collection file in PEM format. null to use the system default
        trustManagerFactory - the TrustManagerFactory that provides the TrustManagers that verifies the certificates sent from servers. null to use the default or the results of parsing trustCertCollectionFile
        keyCertChainFile - an X.509 certificate chain file in PEM format. This provides the public key for mutual authentication. null to use the system default
        keyFile - a PKCS#8 private key file in PEM format. This provides the private key for mutual authentication. null for no mutual authentication.
        keyPassword - the password of the keyFile. null if it's not password-protected. Ignored if keyFile is null.
        keyManagerFactory - the KeyManagerFactory that provides the KeyManagers that is used to encrypt data being sent to servers. null to use the default or the results of parsing keyCertChainFile and keyFile.
        ciphers - the cipher suites to enable, in the order of preference. null to use the default cipher suites.
        cipherFilter - a filter to apply over the supplied list of ciphers
        apn - Provides a means to configure parameters related to application protocol negotiation.
        sessionCacheSize - the size of the cache used for storing SSL session objects. 0 to use the default value.
        sessionTimeout - the timeout for the cached SSL session objects, in seconds. 0 to use the default value.
        Throws:
        javax.net.ssl.SSLException
      • JdkSslClientContext

        @Deprecated
        public JdkSslClientContext(java.io.File trustCertCollectionFile,
         javax.net.ssl.TrustManagerFactory trustManagerFactory,
         java.io.File keyCertChainFile,
         java.io.File keyFile,
         java.lang.String keyPassword,
         javax.net.ssl.KeyManagerFactory keyManagerFactory,
         java.lang.Iterable<java.lang.String> ciphers,
         CipherSuiteFilter cipherFilter,
         JdkApplicationProtocolNegotiator apn,
         long sessionCacheSize,
         long sessionTimeout)
         throws javax.net.ssl.SSLException
        Deprecated. use SslContextBuilder
        Creates a new instance.
        Parameters:
        trustCertCollectionFile - an X.509 certificate collection file in PEM format. null to use the system default
        trustManagerFactory - the TrustManagerFactory that provides the TrustManagers that verifies the certificates sent from servers. null to use the default or the results of parsing trustCertCollectionFile
        keyCertChainFile - an X.509 certificate chain file in PEM format. This provides the public key for mutual authentication. null to use the system default
        keyFile - a PKCS#8 private key file in PEM format. This provides the private key for mutual authentication. null for no mutual authentication.
        keyPassword - the password of the keyFile. null if it's not password-protected. Ignored if keyFile is null.
        keyManagerFactory - the KeyManagerFactory that provides the KeyManagers that is used to encrypt data being sent to servers. null to use the default or the results of parsing keyCertChainFile and keyFile.
        ciphers - the cipher suites to enable, in the order of preference. null to use the default cipher suites.
        cipherFilter - a filter to apply over the supplied list of ciphers
        apn - Application Protocol Negotiator object.
        sessionCacheSize - the size of the cache used for storing SSL session objects. 0 to use the default value.
        sessionTimeout - the timeout for the cached SSL session objects, in seconds. 0 to use the default value.
        Throws:
        javax.net.ssl.SSLException
Skip navigation links
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 2008–2018 The Netty Project. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /