Home | History | Annotate | Download | only in ssl

Lines Matching refs:SSLContext

40  * <p> Android provides the following <code>SSLContext</code> protocols:
81 * "{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/security/StandardNames.html#SSLContext">
82 * SSLContext section</a> of the
87 public class SSLContext {
95 * Creates an SSLContext object.
101 protected SSLContext(SSLContextSpi contextSpi, Provider provider,
108 private static SSLContext defaultContext;
114 * SSLContext.setDefault()} method, it is returned. Otherwise, the first
116 * <code>SSLContext.getInstance("Default")</code>.
124 * {@link SSLContext#getInstance SSLContext.getInstance()} call fails
127 public static synchronized SSLContext getDefault()
130 defaultContext = SSLContext.getInstance("Default");
140 * @param context the SSLContext
147 public static synchronized void setDefault(SSLContext context) {
159 * Returns a <code>SSLContext</code> object that implements the
164 * A new SSLContext object encapsulating the
172 * See the SSLContext section in the <a href=
173 * "{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/security/StandardNames.html#SSLContext">
178 * @return the new <code>SSLContext</code> object.
187 public static SSLContext getInstance(String protocol)
190 ("SSLContext", SSLContextSpi.class, protocol);
191 return new SSLContext((SSLContextSpi)instance.impl, instance.provider,
196 * Returns a <code>SSLContext</code> object that implements the
199 * <p> A new SSLContext object encapsulating the
208 * See the SSLContext section in the <a href=
209 * "{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/security/StandardNames.html#SSLContext">
216 * @return the new <code>SSLContext</code> object.
230 public static SSLContext getInstance(String protocol, String provider)
233 ("SSLContext", SSLContextSpi.class, protocol, provider);
234 return new SSLContext((SSLContextSpi)instance.impl, instance.provider,
239 * Returns a <code>SSLContext</code> object that implements the
242 * <p> A new SSLContext object encapsulating the
248 * See the SSLContext section in the <a href=
249 * "{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/security/StandardNames.html#SSLContext">
256 * @return the new <code>SSLContext</code> object.
267 public static SSLContext getInstance(String protocol, Provider provider)
270 ("SSLContext", SSLContextSpi.class, protocol, provider);
271 return new SSLContext((SSLContextSpi)instance.impl, instance.provider,
276 * Returns the protocol name of this <code>SSLContext</code> object.
280 * <code>SSLContext</code> object.
282 * @return the protocol name of this <code>SSLContext</code> object.
289 * Returns the provider of this <code>SSLContext</code> object.
291 * @return the provider of this <code>SSLContext</code> object