Searched refs:suites (Results 1 - 7 of 7) 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.java101 * <h4>Cipher suites</h4>
106 * standard names for cipher suites since API Level 9, as listed in the table
586 * <p><em>NOTE</em>: PSK cipher suites are enabled by default only if the {@code SSLContext} through
589 * <p>API Levels 1 to 8 use OpenSSL names for cipher suites. The table below
847 * Returns the names of the supported cipher suites.
852 * Returns the names of the enabled cipher suites.
857 * Sets the names of the cipher suites to be enabled.
858 * Only cipher suites returned by {@link #getSupportedCipherSuites()} are
861 * @param suites
862 * the names of the to be enabled cipher suites
866 setEnabledCipherSuites(String[] suites) argument
[all...]
H A DSSLEngine.java64 * <h4>Cipher suites</h4>
647 * <p><em>NOTE</em>: PSK cipher suites are enabled by default only if the {@code SSLContext} through
790 * These cipher suites can be enabled using
840 * instance. Only cipher suites listed by {@code getSupportedCipherSuites()}
843 * @param suites
846 * if one of the specified cipher suites is not supported, or if
847 * {@code suites} is {@code null}.
849 public abstract void setEnabledCipherSuites(String[] suites); argument
1090 * cipher suites, protocols, and client authentication settings.
1106 * suites i
[all...]
/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
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DSSLEngineTest.java62 String[] suites = e.getSupportedCipherSuites();
63 e.setEnabledCipherSuites(suites);
64 assertEquals(e.getEnabledCipherSuites().length, suites.length);
99 String[] suites = e.getSupportedCipherSuites();
100 e.setEnabledCipherSuites(suites);
101 assertEquals(e.getEnabledCipherSuites().length, suites.length);
168 * javax.net.ssl.SSLEngine#setEnabledCipherSuites(String[] suites)
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",

Completed in 355 milliseconds