Lines Matching refs:protocol
40 * Instances of this class represent a secure socket protocol
54 private String protocol;
61 * @param protocol the protocol
64 String protocol) {
67 this.protocol = protocol;
72 * specified secure socket protocol.
74 * @param protocol the standard name of the requested protocol.
78 * @exception NoSuchAlgorithmException if the specified protocol is not
82 public static SSLContext getInstance(String protocol)
86 Object[] objs = SSLSecurity.getImpl(protocol, "SSLContext",
89 protocol);
91 throw new NoSuchAlgorithmException(protocol + " not found");
97 * specified secure socket protocol.
99 * @param protocol the standard name of the requested protocol.
104 * @exception NoSuchAlgorithmException if the specified protocol is not
109 public static SSLContext getInstance(String protocol, String provider)
114 Object[] objs = SSLSecurity.getImpl(protocol, "SSLContext",
117 protocol);
122 * specified secure socket protocol.
124 * @param protocol the standard name of the requested protocol.
129 * @exception NoSuchAlgorithmException if the specified protocol is not
132 public static SSLContext getInstance(String protocol, Provider provider)
137 Object[] objs = SSLSecurity.getImpl(protocol, "SSLContext",
140 protocol);
144 * Returns the protocol name of this <code>SSLContext</code> object.
150 * @return the protocol name of this <code>SSLContext</code> object.
153 return this.protocol;