Home
last modified time | relevance | path

Searched refs:cipherSuite (Results 1 – 6 of 6) sorted by relevance

/libcore/support/src/test/java/libcore/java/security/
DStandardNames.java640 private static final void addRi(String cipherSuite) { in addRi() argument
641 CIPHER_SUITES_RI.add(cipherSuite); in addRi()
644 private static final void addOpenSsl(String cipherSuite) { in addOpenSsl() argument
645 CIPHER_SUITES_OPENSSL.add(cipherSuite); in addOpenSsl()
648 private static final void addBoth(String cipherSuite) { in addBoth() argument
649 addRi(cipherSuite); in addBoth()
650 addOpenSsl(cipherSuite); in addBoth()
653 private static final void addNeither(String cipherSuite) { in addNeither() argument
654 CIPHER_SUITES_NEITHER.add(cipherSuite); in addNeither()
953 for (String cipherSuite : cipherSuites) { in assertValidCipherSuites()
[all …]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSessionContextTest.java177 String cipherSuite = i.next(); in test_SSLSessionContext_setSessionCacheSize_dynamic() local
180 if (cipherSuite.startsWith("SSL_RSA_EXPORT_")) { in test_SSLSessionContext_setSessionCacheSize_dynamic()
185 if (cipherSuite.startsWith("SSL_RSA_")) { in test_SSLSessionContext_setSessionCacheSize_dynamic()
188 if (cipherSuite.startsWith("TLS_RSA_")) { in test_SSLSessionContext_setSessionCacheSize_dynamic()
191 if (cipherSuite.startsWith("TLS_DHE_RSA_")) { in test_SSLSessionContext_setSessionCacheSize_dynamic()
194 if (cipherSuite.startsWith("SSL_DHE_RSA_")) { in test_SSLSessionContext_setSessionCacheSize_dynamic()
DSSLEngineTest.java175 for (String cipherSuite : cipherSuites) { in test_SSLEngine_getSupportedCipherSuites_connect()
179 && StandardNames.CIPHER_SUITES_OBSOLETE_TLS12.contains(cipherSuite)) { in test_SSLEngine_getSupportedCipherSuites_connect()
186 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION) in test_SSLEngine_getSupportedCipherSuites_connect()
187 || cipherSuite.equals(StandardNames.CIPHER_SUITE_FALLBACK)) { in test_SSLEngine_getSupportedCipherSuites_connect()
195 if (cipherSuite.startsWith("TLS_KRB5_")) { in test_SSLEngine_getSupportedCipherSuites_connect()
201 ? new String[] { cipherSuite, in test_SSLEngine_getSupportedCipherSuites_connect()
203 : new String[] { cipherSuite }); in test_SSLEngine_getSupportedCipherSuites_connect()
218 && cipherSuite.contains("_CBC_"); in test_SSLEngine_getSupportedCipherSuites_connect()
230 if (cipherSuite.contains("_anon_")) { in test_SSLEngine_getSupportedCipherSuites_connect()
232 } else if ((cipherSuite.startsWith("TLS_PSK_")) in test_SSLEngine_getSupportedCipherSuites_connect()
[all …]
DSSLSocketTest.java119 for (String cipherSuite : cipherSuites) { in test_SSLSocket_getSupportedCipherSuites_connect()
120 boolean errorExpected = StandardNames.IS_RI && cipherSuite.endsWith("_SHA256"); in test_SSLSocket_getSupportedCipherSuites_connect()
127 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_SECURE_RENEGOTIATION)) { in test_SSLSocket_getSupportedCipherSuites_connect()
135 if (cipherSuite.equals(StandardNames.CIPHER_SUITE_FALLBACK)) { in test_SSLSocket_getSupportedCipherSuites_connect()
143 if (cipherSuite.startsWith("TLS_KRB5_")) { in test_SSLSocket_getSupportedCipherSuites_connect()
148 cipherSuite, in test_SSLSocket_getSupportedCipherSuites_connect()
188 String message = ("Problem trying to connect cipher suite " + cipherSuite); in test_SSLSocket_getSupportedCipherSuites_connect()
475 String cipherSuite = event.getCipherSuite(); in test_SSLSocket_HandshakeCompletedListener()
486 System.out.println("CipherSuite=" + cipherSuite); in test_SSLSocket_HandshakeCompletedListener()
504 assertNotNull(cipherSuite); in test_SSLSocket_HandshakeCompletedListener()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionTest.java97 for (String cipherSuite : StandardNames.CIPHER_SUITES_DEFAULT) { in test_getCipherSuite()
98 if (cipherSuite.contains("_RSA_")) { in test_getCipherSuite()
99 expectedCipherSuite = cipherSuite; in test_getCipherSuite()
DSSLEngineTest.java1052 for (String cipherSuite : cipherSuites) { in HandshakeHandler()
1053 if (cipherSuite.contains("anon")) { in HandshakeHandler()
1054 enabledSuites.add(cipherSuite); in HandshakeHandler()