Lines Matching defs:protocol

34  * Instances of this class represent a secure socket protocol
41 * following standard <code>SSLContext</code> protocol:
45 * This protocol is described in the <a href=
59 private final String protocol;
66 * @param protocol the protocol
69 String protocol) {
72 this.protocol = protocol;
127 * specified secure socket protocol.
133 * Provider that supports the specified protocol is returned.
138 * @param protocol the standard name of the requested protocol.
143 * for information about standard protocol names.
149 * specified protocol.
150 * @exception NullPointerException if protocol is null.
154 public static SSLContext getInstance(String protocol)
157 ("SSLContext", SSLContextSpi.class, protocol);
159 protocol);
164 * specified secure socket protocol.
174 * @param protocol the standard name of the requested protocol.
179 * for information about standard protocol names.
186 * implementation for the specified protocol is not
193 * @throws NullPointerException if protocol is null.
197 public static SSLContext getInstance(String protocol, String provider)
200 ("SSLContext", SSLContextSpi.class, protocol, provider);
202 protocol);
207 * specified secure socket protocol.
214 * @param protocol the standard name of the requested protocol.
219 * for information about standard protocol names.
226 * implementation for the specified protocol is not available
230 * @throws NullPointerException if protocol is null.
234 public static SSLContext getInstance(String protocol, Provider provider)
237 ("SSLContext", SSLContextSpi.class, protocol, provider);
239 protocol);
243 * Returns the protocol name of this <code>SSLContext</code> object.
249 * @return the protocol name of this <code>SSLContext</code> object.
252 return this.protocol;