Package | Description |
---|---|
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 |
---|---|
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,
Provider provider)
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. |
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.