Lines Matching defs:SSLContext

41  * following standard {@code SSLContext} protocols:
49 * SSLContext section</a> of the
56 public class SSLContext {
64 * Creates an SSLContext object.
70 protected SSLContext(SSLContextSpi contextSpi, Provider provider,
77 private static SSLContext defaultContext;
83 * SSLContext.setDefault()} method, it is returned. Otherwise, the first
85 * {@code SSLContext.getInstance("Default")}.
93 * {@link SSLContext#getInstance SSLContext.getInstance()} call fails
96 public static synchronized SSLContext getDefault()
99 defaultContext = SSLContext.getInstance("Default");
109 * @param context the SSLContext
116 public static synchronized void setDefault(SSLContext context) {
128 * Returns a {@code SSLContext} object that implements the
133 * A new SSLContext object encapsulating the
149 * See the SSLContext section in the <a href=
154 * @return the new {@code SSLContext} object
164 public static SSLContext getInstance(String protocol)
168 ("SSLContext", SSLContextSpi.class, protocol);
169 return new SSLContext((SSLContextSpi)instance.impl, instance.provider,
174 * Returns a {@code SSLContext} object that implements the
177 * <p> A new SSLContext object encapsulating the
186 * See the SSLContext section in the <a href=
193 * @return the new {@code SSLContext} object
209 public static SSLContext getInstance(String protocol, String provider)
213 ("SSLContext", SSLContextSpi.class, protocol, provider);
214 return new SSLContext((SSLContextSpi)instance.impl, instance.provider,
219 * Returns a {@code SSLContext} object that implements the
222 * <p> A new SSLContext object encapsulating the
228 * See the SSLContext section in the <a href=
235 * @return the new {@code SSLContext} object
247 public static SSLContext getInstance(String protocol, Provider provider)
251 ("SSLContext", SSLContextSpi.class, protocol, provider);
252 return new SSLContext((SSLContextSpi)instance.impl, instance.provider,
257 * Returns the protocol name of this {@code SSLContext} object.
261 * {@code SSLContext} object.
263 * @return the protocol name of this {@code SSLContext} object.
270 * Returns the provider of this {@code SSLContext} object.
272 * @return the provider of this {@code SSLContext} object