Example usage for Java javax.net.ssl SSLContext fields, constructors, methods, implement or subclass
The text is from its open source code.
SSLEngine | createSSLEngine() Creates a new SSLEngine using this context. |
SSLEngine | createSSLEngine(String peerHost, int peerPort) Creates a new SSLEngine using this context using advisory peer information. |
SSLSessionContext | getClientSessionContext() Returns the client session context, which represents the set of SSL sessions available for use during the handshake phase of client-side SSL sockets. |
SSLContext | getDefault() Returns the default SSL context. |
SSLParameters | getDefaultSSLParameters() Returns a copy of the SSLParameters indicating the default settings for this SSL context. |
SSLContext | getInstance(String protocol) Returns a SSLContext object that implements the specified secure socket protocol. |
SSLContext | getInstance(String protocol, String provider) Returns a SSLContext object that implements the specified secure socket protocol. |
SSLContext | getInstance(String protocol, Provider provider) Returns a SSLContext object that implements the specified secure socket protocol. |
String | getProtocol() Returns the protocol name of this SSLContext object. |
Provider | getProvider() Returns the provider of this SSLContext object. |
SSLSessionContext | getServerSessionContext() Returns the server session context, which represents the set of SSL sessions available for use during the handshake phase of server-side SSL sockets. |
SSLServerSocketFactory | getServerSocketFactory() Returns a ServerSocketFactory object for this context. |
SSLSocketFactory | getSocketFactory() Returns a SocketFactory object for this context. |
SSLParameters | getSupportedSSLParameters() Returns a copy of the SSLParameters indicating the supported settings for this SSL context. |
void | init(KeyManager[] km, TrustManager[] tm, SecureRandom random) Initializes this context. |
void | setDefault(SSLContext context) Sets the default SSL context. |