Searched defs:suites (Results 1 - 12 of 12) sorted by relevance

/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLServerSocket.java94 * Returns the names of the enabled cipher suites to be used for new
97 * @return the names of the enabled cipher suites to be used for new
103 * Sets the names of the cipher suites to be enabled for new connections.
104 * Only cipher suites returned by {@link #getSupportedCipherSuites()} are
107 * @param suites
108 * the names of the to be enabled cipher suites.
112 public abstract void setEnabledCipherSuites(String[] suites); argument
115 * Returns the names of the supported cipher suites.
117 * @return the names of the supported cipher suites.
H A DSSLSocket.java138 * Returns the names of the supported cipher suites.
143 * Returns the names of the enabled cipher suites.
148 * Sets the names of the cipher suites to be enabled.
149 * Only cipher suites returned by {@link #getSupportedCipherSuites()} are
152 * @param suites
153 * the names of the to be enabled cipher suites.
157 public abstract void setEnabledCipherSuites(String[] suites); argument
293 * cipher suites, protocols, and client authentication settings.
309 * suites if the parameter's cipher suites ar
[all...]
H A DSSLEngine.java167 * These cipher suites can be enabled using
217 * instance. Only cipher suites listed by {@code getSupportedCipherSuites()}
220 * @param suites
223 * if one of the specified cipher suites is not supported, or if
224 * {@code suites} is {@code null}.
226 public abstract void setEnabledCipherSuites(String[] suites); argument
467 * cipher suites, protocols, and client authentication settings.
483 * suites if the parameter's cipher suites are non-null. Similarly
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DSSLServerSocketImpl.java32 // about supported and enabled cipher suites and protocols,
120 public void setEnabledCipherSuites(String[] suites) { argument
121 sslParameters.setEnabledCipherSuites(suites);
H A DOpenSSLServerSocketImpl.java131 * This method enables the cipher suites listed by
134 * @param suites the names of all the cipher suites to enable
136 * suites are not supported, or when the array is null.
139 public void setEnabledCipherSuites(String[] suites) { argument
140 enabledCipherSuites = NativeCrypto.checkEnabledCipherSuites(suites);
189 * Check if any of the enabled cipher suites has a chance to work.
193 /* Loop over all enabled cipher suites. If we find a problem,
233 + "to support the enabled cipher suites.");
H A DSSLParametersImpl.java37 * about enabled cipher suites and protocols,
67 // cipher suites available for SSL connection
69 // string representations of available cipher suites
208 * @return the names of enabled cipher suites
222 * Sets the set of available cipher suites for use in SSL connection.
223 * @param suites: String[]
226 protected void setEnabledCipherSuites(String[] suites) { argument
227 if (suites == null) {
228 throw new IllegalArgumentException("suites == null");
230 CipherSuite[] cipherSuites = new CipherSuite[suites
[all...]
H A DSSLEngineImpl.java192 * Returns names of supported cipher suites.
193 * @return array of strings containing the names of supported cipher suites
220 public void setEnabledCipherSuites(String[] suites) { argument
221 sslParameters.setEnabledCipherSuites(suites);
H A DSSLSocketImpl.java66 // about supported and enabled cipher suites and protocols,
261 public void setEnabledCipherSuites(String[] suites) { argument
262 sslParameters.setEnabledCipherSuites(suites);
H A DOpenSSLSocketImpl.java244 * cipher suites, or initiate a new session. The certificate chain is
777 @Override public void setEnabledCipherSuites(String[] suites) { argument
778 enabledCipherSuites = NativeCrypto.checkEnabledCipherSuites(suites);
/libcore/luni/src/test/java/tests/api/javax/net/ssl/
H A DSSLServerSocketTest.java66 public void setEnabledCipherSuites(String[] suites) { argument
204 assertTrue("no supported cipher suites available.", res.length > 0);
210 * javax.net.ssl.SSLServerSocket#setEnabledCipherSuites(String[] suites)
226 assertTrue("No supported cipher suites", count > 0);
230 assertEquals("not all supported cipher suites were enabled",
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMySSLContextSpi.java142 public void setEnabledCipherSuites(String[] suites) { } argument
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DMySSLContextSpi.java140 public void setEnabledCipherSuites(String[] suites) { } argument

Completed in 41 milliseconds