| Package | Description |
|---|---|
| javax.net.ssl |
Provides classes for the secure socket package.
|
| 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.
|
Submit a bug or feature Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved.
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.