## Uses of Class
javax.net.ssl.SSLContext

- Packages that use SSLContext
  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.

- - ### Uses of SSLContext in javax.net.ssl

    Methods in javax.net.ssl that return 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, 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.

    Methods in javax.net.ssl with parameters of type SSLContext
    Modifier and Type | Method and Description
    --- | ---
    `static void` | SSLContext.`setDefault(SSLContext context)` Sets the default SSL context.

  - ### Uses of SSLContext in javax.rmi.ssl

    Constructors in javax.rmi.ssl with parameters of type SSLContext
    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, 2015, Oracle and/or its affiliates. All rights reserved.