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

/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DSSLParameters.java38 * about enabled cipher suites and protocols,
72 // cipher suites available for SSL connection
76 // string representations of available cipher suites
303 * @return the names of enabled cipher suites
319 * Sets the set of available cipher suites for use in SSL connection.
320 * @param suites: String[]
323 protected void setEnabledCipherSuites(String[] suites) { argument
324 if (suites == null) {
327 CipherSuite[] cipherSuites = new CipherSuite[suites.length];
328 for (int i=0; i<suites
[all...]
H A DOpenSSLSocketImpl.java283 * cipher suites, or initiate a new session. The certificate chain is
675 * The names of the cipher suites which could be used by the SSL connection
686 * The names of the cipher suites that are in use in the actual the SSL
712 * This method enables the cipher suites listed by
715 * @param suites names of all the cipher suites to
718 * ciphers in array suites are not supported, or when the array
721 public void setEnabledCipherSuites(String[] suites) { argument
722 setEnabledCipherSuites(ssl_ctx, suites);
725 static void setEnabledCipherSuites(int ssl_ctx, String[] suites) { argument
[all...]
H A DOpenSSLServerSocketImpl.java205 * This method enables the cipher suites listed by
208 * @param suites the names of all the cipher suites to enable
210 * suites are not supported, or when the array is null.
213 public void setEnabledCipherSuites(String[] suites) { argument
214 OpenSSLSocketImpl.setEnabledCipherSuites(ssl_ctx, suites);
H A DSSLEngineImpl.java206 * Returns names of supported cipher suites.
207 * @return array of strings containing the names of supported cipher suites
234 public void setEnabledCipherSuites(String[] suites) { argument
235 sslParameters.setEnabledCipherSuites(suites);
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/
H A DSSLServerSocket.java95 * Returns the names of the enabled cipher suites to be used for new
98 * @return the names of the enabled cipher suites to be used for new
104 * Sets the names of the cipher suites to be enabled for new connections.
105 * Only cipher suites returned by {@link #getSupportedCipherSuites()} are
108 * @param suites
109 * the names of the to be enabled cipher suites.
113 public abstract void setEnabledCipherSuites(String[] suites); argument
116 * Returns the names of the supported cipher suites.
118 * @return the names of the supported cipher suites.
H A DSSLSocket.java123 * Returns the names of the supported cipher suites.
125 * @return the names of the supported cipher suites.
130 * Returns the names of the enabled cipher suites.
132 * @return the names of the enabled cipher suites.
137 * Sets the names of the cipher suites to be enabled.
138 * Only cipher suites returned by {@link #getSupportedCipherSuites()} are
141 * @param suites
142 * the names of the to be enabled cipher suites.
146 public abstract void setEnabledCipherSuites(String[] suites); argument
H A DSSLEngine.java169 * These cipher suites can be enabled using
219 * instance. Only cipher suites listed by {@code getSupportedCipherSuites()}
222 * @param suites
225 * if one of the specified cipher suites is not supported, or if
226 * {@code suites} is {@code null}.
228 public abstract void setEnabledCipherSuites(String[] suites); argument
/dalvik/libcore/luni/src/test/java/com/google/coretests/
H A DXmlReportPrinter.java70 /** the test suites, which each contain tests */
71 private final Map<String, Suite> suites = new LinkedHashMap<String, Suite>(); field in class:XmlReportPrinter
85 Suite suite = suites.get(test.className);
88 suites.put(test.className, suite);
101 * Populate the list of failures in each of the suites.
107 Suite suite = suites.get(test.className);
132 for (Suite suite : suites.values()) {
157 return suites.size();
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMySSLContextSpi.java132 public void setEnabledCipherSuites(String[] suites) { } argument
/dalvik/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DMySSLContextSpi.java130 public void setEnabledCipherSuites(String[] suites) { } argument
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/
H A DSSLEngineTest.java89 String[] suites = e.getSupportedCipherSuites();
90 e.setEnabledCipherSuites(suites);
91 assertEquals(e.getEnabledCipherSuites().length, suites.length);
148 String[] suites = e.getSupportedCipherSuites();
149 e.setEnabledCipherSuites(suites);
150 assertEquals(e.getEnabledCipherSuites().length, suites.length);
273 * @tests javax.net.ssl.SSLEngine#setEnabledCipherSuites(String[] suites)
H A DSSLServerSocketTest.java73 public void setEnabledCipherSuites(String[] suites) { argument
290 assertTrue("no supported cipher suites available.", res.length > 0);
296 * @tests javax.net.ssl.SSLServerSocket#setEnabledCipherSuites(String[] suites)
326 assertTrue("No supported cipher suites", count > 0);
330 assertTrue("No enabled cipher suites.", res.length == count);

Completed in 173 milliseconds