JdkSslClientContext Class — netty Architecture
Architecture documentation for the JdkSslClientContext class in JdkSslClientContext.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3bb8f314_1cad_5b8e_9a50_6b93e5f38222["JdkSslClientContext"] 5e54215b_a282_3e68_33c4_fbaee3e45278["JdkSslClientContext.java"] 3bb8f314_1cad_5b8e_9a50_6b93e5f38222 -->|defined in| 5e54215b_a282_3e68_33c4_fbaee3e45278 b3a95b99_2751_f703_f1e5_ed4b767a4521["JdkSslClientContext()"] 3bb8f314_1cad_5b8e_9a50_6b93e5f38222 -->|method| b3a95b99_2751_f703_f1e5_ed4b767a4521 4a132661_43b3_a397_29bd_a456f29e138e["SSLContext()"] 3bb8f314_1cad_5b8e_9a50_6b93e5f38222 -->|method| 4a132661_43b3_a397_29bd_a456f29e138e 01b2b2f1_01a4_9677_58e5_9df89d53f144["wrapIfNeeded()"] 3bb8f314_1cad_5b8e_9a50_6b93e5f38222 -->|method| 01b2b2f1_01a4_9677_58e5_9df89d53f144
Relationship Graph
Source Code
handler/src/main/java/io/netty/handler/ssl/JdkSslClientContext.java lines 41–330
@Deprecated
public final class JdkSslClientContext extends JdkSslContext {
/**
* Creates a new instance.
*
* @deprecated use {@link SslContextBuilder}
*/
@Deprecated
public JdkSslClientContext() throws SSLException {
this(null, null);
}
/**
* Creates a new instance.
*
* @param certChainFile an X.509 certificate chain file in PEM format.
* {@code null} to use the system default
* @deprecated use {@link SslContextBuilder}
*/
@Deprecated
public JdkSslClientContext(File certChainFile) throws SSLException {
this(certChainFile, null);
}
/**
* Creates a new instance.
*
* @param trustManagerFactory the {@link TrustManagerFactory} that provides the {@link TrustManager}s
* that verifies the certificates sent from servers.
* {@code null} to use the default.
* @deprecated use {@link SslContextBuilder}
*/
@Deprecated
public JdkSslClientContext(TrustManagerFactory trustManagerFactory) throws SSLException {
this(null, trustManagerFactory);
}
/**
* Creates a new instance.
*
* @param certChainFile an X.509 certificate chain file in PEM format.
* {@code null} to use the system default
* @param trustManagerFactory the {@link TrustManagerFactory} that provides the {@link TrustManager}s
* that verifies the certificates sent from servers.
* {@code null} to use the default.
* @deprecated use {@link SslContextBuilder}
*/
@Deprecated
public JdkSslClientContext(File certChainFile, TrustManagerFactory trustManagerFactory) throws SSLException {
this(certChainFile, trustManagerFactory, null, IdentityCipherSuiteFilter.INSTANCE,
JdkDefaultApplicationProtocolNegotiator.INSTANCE, 0, 0);
}
/**
* Creates a new instance.
*
* @param certChainFile an X.509 certificate chain file in PEM format.
* {@code null} to use the system default
* @param trustManagerFactory the {@link TrustManagerFactory} that provides the {@link TrustManager}s
* that verifies the certificates sent from servers.
* {@code null} to use the default.
* @param ciphers the cipher suites to enable, in the order of preference.
* {@code null} to use the default cipher suites.
* @param nextProtocols the application layer protocols to accept, in the order of preference.
* {@code null} to disable TLS NPN/ALPN extension.
* @param sessionCacheSize the size of the cache used for storing SSL session objects.
* {@code 0} to use the default value.
* @param sessionTimeout the timeout for the cached SSL session objects, in seconds.
* {@code 0} to use the default value.
* @deprecated use {@link SslContextBuilder}
*/
@Deprecated
public JdkSslClientContext(
File certChainFile, TrustManagerFactory trustManagerFactory,
Iterable<String> ciphers, Iterable<String> nextProtocols,
long sessionCacheSize, long sessionTimeout) throws SSLException {
this(certChainFile, trustManagerFactory, ciphers, IdentityCipherSuiteFilter.INSTANCE,
toNegotiator(toApplicationProtocolConfig(nextProtocols), false), sessionCacheSize, sessionTimeout);
}
Source
Frequently Asked Questions
What is the JdkSslClientContext class?
JdkSslClientContext is a class in the netty codebase, defined in handler/src/main/java/io/netty/handler/ssl/JdkSslClientContext.java.
Where is JdkSslClientContext defined?
JdkSslClientContext is defined in handler/src/main/java/io/netty/handler/ssl/JdkSslClientContext.java at line 41.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free