Package | Description |
---|---|
java.net.http |
High level HTTP and WebSocket API
|
javax.net.ssl |
Provides classes for the secure socket package.
|
javax.rmi.ssl |
Provides implementations of
RMIClientSocketFactory
and RMIServerSocketFactory over
the Secure Sockets Layer (SSL) or Transport Layer Security (TLS) protocols. |
Modifier and Type | Method and Description |
---|---|
abstract SSLContext |
HttpClient.sslContext()
Returns the SSLContext, if one was set on this client.
|
Modifier and Type | Method and Description |
---|---|
abstract HttpClient.Builder |
HttpClient.Builder.sslContext(SSLContext sslContext)
Sets an SSLContext.
|
Modifier and Type | Method and Description |
---|---|
static SSLContext |
SSLContext.getDefault()
Returns the default SSL context.
|
static SSLContext |
SSLContext.getInstance(String protocol)
Returns a
SSLContext object that implements the
specified secure socket protocol. |
static SSLContext |
SSLContext.getInstance(String protocol,
String provider)
Returns a
SSLContext object that implements the
specified secure socket protocol. |
static SSLContext |
SSLContext.getInstance(String protocol,
Provider provider)
Returns a
SSLContext object that implements the
specified secure socket protocol. |
Modifier and Type | Method and Description |
---|---|
static void |
SSLContext.setDefault(SSLContext context)
Sets the default SSL context.
|
Constructor and Description |
---|
SslRMIServerSocketFactory(SSLContext context,
String[] enabledCipherSuites,
String[] enabledProtocols,
boolean needClientAuth)
Creates a new
SslRMIServerSocketFactory with the
specified SSLContext and SSL socket configuration. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-Ubuntu+0-9b134-2