Uses of Class
javax.net.ssl.SSLContext
| Package | Description |
|---|---|
| javax.net.ssl |
This package provides classes and interfaces needed to use the Secure
Sockets Layer (SSL) protocol and the successor Transport Layer
Security (TLS) protocol.
|
-
Uses of SSLContext in javax.net.ssl
Methods in javax.net.ssl that return SSLContext Modifier and Type Method Description static SSLContextSSLContext. getDefault()Returns the default SSLContext.static SSLContextSSLContext. getInstance(String protocol)Creates a newSSLContextinstance for the specified protocol.static SSLContextSSLContext. getInstance(String protocol, String provider)Creates a newSSLContextinstance for the specified protocol from the specified provider.static SSLContextSSLContext. getInstance(String protocol, Provider provider)Creates a newSSLContextinstance for the specified protocol from the specified provider.Methods in javax.net.ssl with parameters of type SSLContext Modifier and Type Method Description static voidSSLContext. setDefault(SSLContext sslContext)Sets the default SSLContext instance as returned bygetDefault()to a non-null initialized value.