Deprecated
Use SslContextBuilder to create JdkSslContext instances and only
use JdkSslContext in your code.
SslContext which uses JDK's SSL/TLS implementation.
| Access | Constructor and Description |
|---|---|
| public | |
| public | JdkSslClientContext(File
an X.509 certificate chain file in PEM format.
certChainFile)null to use the system default
Deprecated
use
Creates a new instance.
SslContextBuilder
|
| public | JdkSslClientContext(TrustManagerFactory
the trustManagerFactory)TrustManagerFactory that provides the TrustManagers
that verifies the certificates sent from servers.
null to use the default.
Deprecated
use
Creates a new instance.
SslContextBuilder
|
| public | JdkSslClientContext(File
an X.509 certificate chain file in PEM format.
certChainFile, TrustManagerFactory null to use the system defaultthe trustManagerFactory)TrustManagerFactory that provides the TrustManagers
that verifies the certificates sent from servers.
null to use the default.
Deprecated
use
Creates a new instance.
SslContextBuilder
|
| public | JdkSslClientContext(File
an X.509 certificate chain file in PEM format.
certChainFile, TrustManagerFactory null to use the system defaultthe trustManagerFactory, Iterable<String> TrustManagerFactory that provides the TrustManagers
that verifies the certificates sent from servers.
null to use the default.the cipher suites to enable, in the order of preference.
ciphers, Iterable<String> null to use the default cipher suites.the application layer protocols to accept, in the order of preference.
nextProtocols, long null to disable TLS NPN/ALPN extension.the size of the cache used for storing SSL session objects.
sessionCacheSize, long 0 to use the default value.the timeout for the cached SSL session objects, in seconds.
sessionTimeout)0 to use the default value.
Deprecated
use
Creates a new instance.
SslContextBuilder
|
| public | JdkSslClientContext(File
an X.509 certificate chain file in PEM format.
certChainFile, TrustManagerFactory null to use the system defaultthe trustManagerFactory, Iterable<String> TrustManagerFactory that provides the TrustManagers
that verifies the certificates sent from servers.
null to use the default.the cipher suites to enable, in the order of preference.
ciphers, CipherSuiteFilter null to use the default cipher suites.a filter to apply over the supplied list of ciphers cipherFilter, ApplicationProtocolConfig Provides a means to configure parameters related to application protocol negotiation. apn, long the size of the cache used for storing SSL session objects.
sessionCacheSize, long 0 to use the default value.the timeout for the cached SSL session objects, in seconds.
sessionTimeout)0 to use the default value.
Deprecated
use
Creates a new instance.
SslContextBuilder
|
| public | JdkSslClientContext(File
an X.509 certificate chain file in PEM format.
certChainFile, TrustManagerFactory null to use the system defaultthe trustManagerFactory, Iterable<String> TrustManagerFactory that provides the TrustManagers
that verifies the certificates sent from servers.
null to use the default.the cipher suites to enable, in the order of preference.
ciphers, CipherSuiteFilter null to use the default cipher suites.a filter to apply over the supplied list of ciphers cipherFilter, JdkApplicationProtocolNegotiator Application Protocol Negotiator object. apn, long the size of the cache used for storing SSL session objects.
sessionCacheSize, long 0 to use the default value.the timeout for the cached SSL session objects, in seconds.
sessionTimeout)0 to use the default value.
Deprecated
use
Creates a new instance.
SslContextBuilder
|
| pack-priv | JdkSslClientContext(Provider provider, File trustCertCollectionFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, JdkApplicationProtocolNegotiator apn, long sessionCacheSize, long sessionTimeout)
Deprecated
as a consequence of
JdkApplicationProtocolNegotiator being deprecated.
|
| public | JdkSslClientContext(File
an X.509 certificate collection file in PEM format.
trustCertCollectionFile, TrustManagerFactory null to use the system defaultthe trustManagerFactory, File TrustManagerFactory that provides the TrustManagers
that verifies the certificates sent from servers.
null to use the default or the results of parsing
trustCertCollectionFilean X.509 certificate chain file in PEM format.
This provides the public key for mutual authentication.
keyCertChainFile, File null to use the system defaulta PKCS#8 private key file in PEM format.
This provides the private key for mutual authentication.
keyFile, String null for no mutual authentication.the password of the keyPassword, KeyManagerFactory keyFile.
null if it's not password-protected.
Ignored if keyFile is null.the keyManagerFactory, Iterable<String> 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.the cipher suites to enable, in the order of preference.
ciphers, CipherSuiteFilter null to use the default cipher suites.a filter to apply over the supplied list of ciphers cipherFilter, ApplicationProtocolConfig Provides a means to configure parameters related to application protocol negotiation. apn, long the size of the cache used for storing SSL session objects.
sessionCacheSize, long 0 to use the default value.the timeout for the cached SSL session objects, in seconds.
sessionTimeout)0 to use the default value.
Deprecated
use
Creates a new instance.
SslContextBuilder
|
| public | JdkSslClientContext(File
an X.509 certificate collection file in PEM format.
trustCertCollectionFile, TrustManagerFactory null to use the system defaultthe trustManagerFactory, File TrustManagerFactory that provides the TrustManagers
that verifies the certificates sent from servers.
null to use the default or the results of parsing
trustCertCollectionFilean X.509 certificate chain file in PEM format.
This provides the public key for mutual authentication.
keyCertChainFile, File null to use the system defaulta PKCS#8 private key file in PEM format.
This provides the private key for mutual authentication.
keyFile, String null for no mutual authentication.the password of the keyPassword, KeyManagerFactory keyFile.
null if it's not password-protected.
Ignored if keyFile is null.the keyManagerFactory, Iterable<String> 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.the cipher suites to enable, in the order of preference.
ciphers, CipherSuiteFilter null to use the default cipher suites.a filter to apply over the supplied list of ciphers cipherFilter, JdkApplicationProtocolNegotiator Application Protocol Negotiator object. apn, long the size of the cache used for storing SSL session objects.
sessionCacheSize, long 0 to use the default value.the timeout for the cached SSL session objects, in seconds.
sessionTimeout)0 to use the default value.
Deprecated
use
Creates a new instance.
SslContextBuilder
|
| pack-priv | JdkSslClientContext(Provider sslContextProvider, X509Certificate[] trustCertCollection, TrustManagerFactory trustManagerFactory, X509Certificate[] keyCertChain, PrivateKey key, String keyPassword, KeyManagerFactory keyManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, String[] protocols, long sessionCacheSize, long sessionTimeout, String keyStoreType)
|
| Modifier and Type | Method and Description |
|---|---|
| private static SSLContext | newSSLContext(Provider sslContextProvider, X509Certificate[] trustCertCollection, TrustManagerFactory trustManagerFactory, X509Certificate[] keyCertChain, PrivateKey key, String keyPassword, KeyManagerFactory keyManagerFactory, long sessionCacheSize, long sessionTimeout, String keyStore)
|
| JdkSslClientContext | back to summary |
|---|---|
| public JdkSslClientContext() throws SSLException
Deprecated Creates a new instance.
| |
| JdkSslClientContext | back to summary |
|---|---|
| public JdkSslClientContext(File certChainFile) throws SSLException
Deprecated Creates a new instance.
| |
| JdkSslClientContext | back to summary |
|---|---|
| public JdkSslClientContext(TrustManagerFactory trustManagerFactory) throws SSLException
Deprecated Creates a new instance.
| |
| JdkSslClientContext | back to summary |
|---|---|
| public JdkSslClientContext(File certChainFile, TrustManagerFactory trustManagerFactory) throws SSLException
Deprecated Creates a new instance.
| |
| JdkSslClientContext | back to summary |
|---|---|
| public JdkSslClientContext(File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, Iterable<String> nextProtocols, long sessionCacheSize, long sessionTimeout) throws SSLException
Deprecated Creates a new instance.
| |
| JdkSslClientContext | back to summary |
|---|---|
| public JdkSslClientContext(File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout) throws SSLException
Deprecated Creates a new instance.
| |
| JdkSslClientContext | back to summary |
|---|---|
| public JdkSslClientContext(File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, JdkApplicationProtocolNegotiator apn, long sessionCacheSize, long sessionTimeout) throws SSLException
Deprecated Creates a new instance.
| |
| JdkSslClientContext | back to summary |
|---|---|
| pack-priv JdkSslClientContext(Provider provider, File trustCertCollectionFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, JdkApplicationProtocolNegotiator apn, long sessionCacheSize, long sessionTimeout) throws SSLException
Deprecated as a consequence of | |
| JdkSslClientContext | back to summary |
|---|---|
| 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
Deprecated Creates a new instance.
| |
| JdkSslClientContext | back to summary |
|---|---|
| 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
Deprecated Creates a new instance.
| |
| JdkSslClientContext | back to summary |
|---|---|
| pack-priv JdkSslClientContext(Provider sslContextProvider, X509Certificate[] trustCertCollection, TrustManagerFactory trustManagerFactory, X509Certificate[] keyCertChain, PrivateKey key, String keyPassword, KeyManagerFactory keyManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, String[] protocols, long sessionCacheSize, long sessionTimeout, String keyStoreType) throws SSLException | |
| newSSLContext | back to summary |
|---|---|
| private static SSLContext newSSLContext(Provider sslContextProvider, X509Certificate[] trustCertCollection, TrustManagerFactory trustManagerFactory, X509Certificate[] keyCertChain, PrivateKey key, String keyPassword, KeyManagerFactory keyManagerFactory, long sessionCacheSize, long sessionTimeout, String keyStore) throws SSLException | |