SslContextBuilder
to create JdkSslContext
instances and only
use JdkSslContext
in your code.@Deprecated public final class JdkSslClientContext extends JdkSslContext
SslContext
which uses JDK's SSL/TLS implementation.Constructor and Description |
---|
JdkSslClientContext()
Deprecated.
|
JdkSslClientContext(File certChainFile)
Deprecated.
|
JdkSslClientContext(File certChainFile,
TrustManagerFactory trustManagerFactory)
Deprecated.
|
JdkSslClientContext(File trustCertCollectionFile,
TrustManagerFactory trustManagerFactory,
File keyCertChainFile,
File keyFile,
String keyPassword,
KeyManagerFactory keyManagerFactory,
Iterable<String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
|
JdkSslClientContext(File trustCertCollectionFile,
TrustManagerFactory trustManagerFactory,
File keyCertChainFile,
File keyFile,
String keyPassword,
KeyManagerFactory keyManagerFactory,
Iterable<String> ciphers,
CipherSuiteFilter cipherFilter,
JdkApplicationProtocolNegotiator apn,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
|
JdkSslClientContext(File certChainFile,
TrustManagerFactory trustManagerFactory,
Iterable<String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
|
JdkSslClientContext(File certChainFile,
TrustManagerFactory trustManagerFactory,
Iterable<String> ciphers,
CipherSuiteFilter cipherFilter,
JdkApplicationProtocolNegotiator apn,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
|
JdkSslClientContext(File certChainFile,
TrustManagerFactory trustManagerFactory,
Iterable<String> ciphers,
Iterable<String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
|
JdkSslClientContext(TrustManagerFactory trustManagerFactory)
Deprecated.
|
applicationProtocolNegotiator, buildKeyManagerFactory, buildKeyManagerFactory, cipherSuites, context, isClient, newEngine, newEngine, sessionCacheSize, sessionContext, sessionTimeout
buildTrustManagerFactory, defaultClientProvider, defaultServerProvider, generateKeySpec, isServer, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newHandler, newHandler, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, nextProtocols
@Deprecated public JdkSslClientContext() throws SSLException
SslContextBuilder
SSLException
@Deprecated public JdkSslClientContext(File certChainFile) throws SSLException
SslContextBuilder
certChainFile
- an X.509 certificate chain file in PEM format.
null
to use the system defaultSSLException
@Deprecated public JdkSslClientContext(TrustManagerFactory trustManagerFactory) throws SSLException
SslContextBuilder
trustManagerFactory
- the TrustManagerFactory
that provides the TrustManager
s
that verifies the certificates sent from servers.
null
to use the default.SSLException
@Deprecated public JdkSslClientContext(File certChainFile, TrustManagerFactory trustManagerFactory) throws SSLException
SslContextBuilder
certChainFile
- an X.509 certificate chain file in PEM format.
null
to use the system defaulttrustManagerFactory
- the TrustManagerFactory
that provides the TrustManager
s
that verifies the certificates sent from servers.
null
to use the default.SSLException
@Deprecated public JdkSslClientContext(File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, Iterable<String> nextProtocols, long sessionCacheSize, long sessionTimeout) throws SSLException
SslContextBuilder
certChainFile
- an X.509 certificate chain file in PEM format.
null
to use the system defaulttrustManagerFactory
- the TrustManagerFactory
that provides the TrustManager
s
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.SSLException
@Deprecated public JdkSslClientContext(File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout) throws SSLException
SslContextBuilder
certChainFile
- an X.509 certificate chain file in PEM format.
null
to use the system defaulttrustManagerFactory
- the TrustManagerFactory
that provides the TrustManager
s
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 ciphersapn
- 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.SSLException
@Deprecated public JdkSslClientContext(File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, JdkApplicationProtocolNegotiator apn, long sessionCacheSize, long sessionTimeout) throws SSLException
SslContextBuilder
certChainFile
- an X.509 certificate chain file in PEM format.
null
to use the system defaulttrustManagerFactory
- the TrustManagerFactory
that provides the TrustManager
s
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 ciphersapn
- 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.SSLException
@Deprecated public JdkSslClientContext(File trustCertCollectionFile, TrustManagerFactory trustManagerFactory, File keyCertChainFile, File keyFile, String keyPassword, KeyManagerFactory keyManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout) throws SSLException
SslContextBuilder
trustCertCollectionFile
- an X.509 certificate collection file in PEM format.
null
to use the system defaulttrustManagerFactory
- the TrustManagerFactory
that provides the TrustManager
s
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 defaultkeyFile
- 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 KeyManager
s
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 ciphersapn
- 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.SSLException
@Deprecated public JdkSslClientContext(File trustCertCollectionFile, TrustManagerFactory trustManagerFactory, File keyCertChainFile, File keyFile, String keyPassword, KeyManagerFactory keyManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, JdkApplicationProtocolNegotiator apn, long sessionCacheSize, long sessionTimeout) throws SSLException
SslContextBuilder
trustCertCollectionFile
- an X.509 certificate collection file in PEM format.
null
to use the system defaulttrustManagerFactory
- the TrustManagerFactory
that provides the TrustManager
s
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 defaultkeyFile
- 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 KeyManager
s
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 ciphersapn
- 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.SSLException
Copyright © 2008–2017 The Netty Project. All rights reserved.