Java javax.net.ssl SSLContext fields, constructors, methods, implement or subclass

Example usage for Java javax.net.ssl SSLContext fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.net.ssl SSLContext.

The text is from its open source code.

Method

SSLEnginecreateSSLEngine()
Creates a new SSLEngine using this context.
SSLEnginecreateSSLEngine(String peerHost, int peerPort)
Creates a new SSLEngine using this context using advisory peer information.
SSLSessionContextgetClientSessionContext()
Returns the client session context, which represents the set of SSL sessions available for use during the handshake phase of client-side SSL sockets.
SSLContextgetDefault()
Returns the default SSL context.
SSLParametersgetDefaultSSLParameters()
Returns a copy of the SSLParameters indicating the default settings for this SSL context.
SSLContextgetInstance(String protocol)
Returns a SSLContext object that implements the specified secure socket protocol.
SSLContextgetInstance(String protocol, String provider)
Returns a SSLContext object that implements the specified secure socket protocol.
SSLContextgetInstance(String protocol, Provider provider)
Returns a SSLContext object that implements the specified secure socket protocol.
StringgetProtocol()
Returns the protocol name of this SSLContext object.
ProvidergetProvider()
Returns the provider of this SSLContext object.
SSLSessionContextgetServerSessionContext()
Returns the server session context, which represents the set of SSL sessions available for use during the handshake phase of server-side SSL sockets.
SSLServerSocketFactorygetServerSocketFactory()
Returns a ServerSocketFactory object for this context.
SSLSocketFactorygetSocketFactory()
Returns a SocketFactory object for this context.
SSLParametersgetSupportedSSLParameters()
Returns a copy of the SSLParameters indicating the supported settings for this SSL context.
voidinit(KeyManager[] km, TrustManager[] tm, SecureRandom random)
Initializes this context.
voidsetDefault(SSLContext context)
Sets the default SSL context.