HomeSort by relevance Sort by last modified time
    Searched refs:CipherSuite (Results 1 - 25 of 38) sorted by null

1 2

  /external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
CipherSuiteTest.java 23 * Tests for <code>CipherSuite</code> constructor and methods
29 CipherSuite c1 = new CipherSuite("CipherSuite1", false, 0, "", "",
31 CipherSuite c2 = new CipherSuite("CipherSuite2", false, 0, "", "",
33 CipherSuite c3 = new CipherSuite("CipherSuite3", false, 0, "", "",
35 CipherSuite c4 = new CipherSuite("CipherSuite4", false, 0, "", "",
43 CipherSuite c1 = new CipherSuite("CipherSuite1", false, 0, "", ""
    [all...]
DigitalSignatureTest.java 57 CipherSuite.KeyExchange_RSA_EXPORT);
59 CipherSuite.KeyExchange_RSA_EXPORT);
85 CipherSuite.KeyExchange_RSA_EXPORT);
87 CipherSuite.KeyExchange_RSA_EXPORT);
ClientHelloTest.java 34 * Test for ClientHello(SecureRandom, byte[], byte[], CipherSuite[]),
41 CipherSuite[] cipher_suite = new CipherSuite[] {
42 CipherSuite.TLS_RSA_WITH_RC4_128_MD5};
SSLSessionContextImplTest.java 36 CipherSuite.TLS_DH_anon_EXPORT_WITH_DES40_CBC_SHA, sr);
38 CipherSuite.TLS_DH_anon_WITH_3DES_EDE_CBC_SHA, sr);
40 CipherSuite.TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5, sr);
SSLSessionImplTest.java 34 * Class under test for void SSLSessionImpl(CipherSuite, SecureRandom)
39 CipherSuite.TLS_NULL_WITH_NULL_NULL.getName());
41 session = new SSLSessionImpl(CipherSuite.TLS_RSA_WITH_NULL_MD5,
46 CipherSuite.TLS_RSA_WITH_NULL_MD5.getName());
90 CipherSuite.TLS_RSA_WITH_NULL_MD5, new SecureRandom());
146 CipherSuite.TLS_RSA_WITH_NULL_MD5, new SecureRandom());
ServerHandshakeImplTest.java 69 CipherSuite[] cipher_suite = new CipherSuite[] {
70 CipherSuite.TLS_RSA_WITH_RC4_128_MD5 };
107 CipherSuite.TLS_RSA_WITH_RC4_128_MD5, new SecureRandom());
ServerKeyExchangeTest.java 59 .length(), CipherSuite.KeyExchange_RSA_EXPORT);
72 CipherSuite.KeyExchange_RSA_EXPORT);
81 CipherSuite.KeyExchange_RSA_EXPORT);
113 .length(), CipherSuite.KeyExchange_DHE_DSS);
124 CipherSuite.KeyExchange_DHE_DSS);
133 CipherSuite.KeyExchange_DHE_DSS);
162 .length(), CipherSuite.KeyExchange_DH_anon);
172 CipherSuite.KeyExchange_DH_anon);
181 CipherSuite.KeyExchange_DH_anon);
ServerHelloTest.java 34 CipherSuite cipher_suite = CipherSuite.TLS_DH_DSS_WITH_DES_CBC_SHA;
HandshakeProtocolTest.java 114 new CipherSuite[] { CipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA });
117 CipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA, (byte) 0);
158 new CipherSuite[] { CipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA });
161 CipherSuite.TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA, (byte) 0);
  /libcore/crypto/src/main/java/org/conscrypt/
CipherSuite.java 26 * A.5. The CipherSuite;
27 * C. CipherSuite definitions.
31 public class CipherSuite {
182 static final CipherSuite SSL_NULL_WITH_NULL_NULL = new CipherSuite(
186 static final CipherSuite SSL_RSA_WITH_NULL_MD5 = new CipherSuite(
190 static final CipherSuite SSL_RSA_WITH_NULL_SHA = new CipherSuite(
194 static final CipherSuite SSL_RSA_EXPORT_WITH_RC4_40_MD5 = new CipherSuite
    [all...]
OpenSSLServerSocketImpl.java 203 String keyType = CipherSuite.getByName(enabledCipherSuite).getServerKeyType();
208 if (keyType.equals(CipherSuite.KEY_TYPE_RSA)
209 || keyType.equals(CipherSuite.KEY_TYPE_DH_RSA)) {
215 if (keyType.equals(CipherSuite.KEY_TYPE_DSA)
216 || keyType.equals(CipherSuite.KEY_TYPE_DH_DSA)) {
222 if (keyType.equals(CipherSuite.KEY_TYPE_EC)
223 || keyType.equals(CipherSuite.KEY_TYPE_EC_RSA)
224 || keyType.equals(CipherSuite.KEY_TYPE_EC_EC)) {
ClientHello.java 52 final CipherSuite[] cipher_suites;
67 CipherSuite[] cipher_suite) {
102 cipher_suites = new CipherSuite[size];
106 cipher_suites[i] = CipherSuite.getByCode(b0, b1);
147 cipher_suites = new CipherSuite[cipher_spec_length/3];
152 cipher_suites[i] = CipherSuite.getByCode(b0, b1, b2);
ServerHello.java 50 CipherSuite cipher_suite;
66 byte[] session_id, CipherSuite cipher_suite, byte compression_method) {
96 cipher_suite = CipherSuite.getByCode(b0, b1);
ServerHandshakeImpl.java 199 if (session.cipherSuite.keyExchange == CipherSuite.KEY_EXCHANGE_RSA
200 || session.cipherSuite.keyExchange == CipherSuite.KEY_EXCHANGE_RSA_EXPORT) {
321 CipherSuite cipher_suite;
386 cipher_suite = session.cipherSuite;
478 if (cipher_suite.keyExchange == CipherSuite.KEY_EXCHANGE_RSA_EXPORT) {
485 } else if (cipher_suite.keyExchange == CipherSuite.KEY_EXCHANGE_DHE_DSS
486 || cipher_suite.keyExchange == CipherSuite.KEY_EXCHANGE_DHE_DSS_EXPORT
487 || cipher_suite.keyExchange == CipherSuite.KEY_EXCHANGE_DHE_RS
    [all...]
SSLParametersImpl.java 67 private CipherSuite[] enabledCipherSuites;
83 protected CipherSuite[] getEnabledCipherSuitesMember() {
85 this.enabledCipherSuites = CipherSuite.DEFAULT_CIPHER_SUITES;
211 CipherSuite[] enabledCipherSuites = getEnabledCipherSuitesMember();
229 CipherSuite[] cipherSuites = new CipherSuite[suites.length];
235 cipherSuites[i] = CipherSuite.getByName(suite);
ClientHandshakeImpl.java 128 CipherSuite[] cipher_suites;
130 cipher_suites = new CipherSuite[] { session.cipherSuite };
212 CipherSuite[] enabledSuites = parameters.getEnabledCipherSuitesMember();
233 } else if (!session.cipherSuite.equals(serverHello.cipher_suite)) {
245 session.cipherSuite = serverHello.cipher_suite;
264 length, session.cipherSuite.keyExchange);
268 || session.cipherSuite.isAnonymous() || isResuming) {
369 if (session.cipherSuite.isAnonymous()) {
375 if (!session.cipherSuite.isAnonymous())
    [all...]
SSLServerSocketFactoryImpl.java 76 return CipherSuite.getSupportedCipherSuiteNames();
SSLServerSocketImpl.java 101 return CipherSuite.getSupportedCipherSuiteNames();
SSLSessionImpl.java 51 CipherSuite cipherSuite;
66 public SSLSessionImpl(CipherSuite cipher_suite, SecureRandom secureRandom) {
70 this.cipherSuite = CipherSuite.SSL_NULL_WITH_NULL_NULL;
75 this.cipherSuite = cipher_suite;
97 return cipherSuite.getName();
  /libcore/crypto/src/test/java/org/conscrypt/
CipherSuiteTest.java 32 assertNull(CipherSuite.getByName(name));
38 assertNull(CipherSuite.getByName("bogus"));
40 CipherSuite.getByName(null);
47 CipherSuite cs = CipherSuite.getByName(name);
53 private void test_CipherSuite(CipherSuite cs) throws Exception {
58 assertSame(name, cs, CipherSuite.getByName(name));
68 assertSame(name, cs, CipherSuite.getByCode(bytes[0], bytes[1]));
69 assertSame(name, cs, CipherSuite.getByCode((byte) 0, bytes[0], bytes[1]));
104 // CipherSuite.getByCode is also covered by test_CipherSuit
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/
constants.py 106 class CipherSuite:
128 suites.append(CipherSuite.TLS_SRP_SHA_WITH_AES_128_CBC_SHA)
130 suites.append(CipherSuite.TLS_SRP_SHA_WITH_AES_256_CBC_SHA)
132 suites.append(CipherSuite.TLS_SRP_SHA_WITH_3DES_EDE_CBC_SHA)
144 suites.append(CipherSuite.TLS_SRP_SHA_RSA_WITH_AES_128_CBC_SHA)
146 suites.append(CipherSuite.TLS_SRP_SHA_RSA_WITH_AES_256_CBC_SHA)
148 suites.append(CipherSuite.TLS_SRP_SHA_RSA_WITH_3DES_EDE_CBC_SHA)
161 suites.append(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA)
163 suites.append(CipherSuite.TLS_RSA_WITH_AES_256_CBC_SHA)
165 suites.append(CipherSuite.TLS_RSA_WITH_RC4_128_SHA
    [all...]
Session.py 44 self.cipherSuite = 0
56 other.cipherSuite = self.cipherSuite
98 if self.cipherSuite in CipherSuite.aes128Suites:
100 elif self.cipherSuite in CipherSuite.aes256Suites:
102 elif self.cipherSuite in CipherSuite.rc4Suites:
104 elif self.cipherSuite in CipherSuite.tripleDESSuites
    [all...]
TLSConnection.py 460 cipherSuite = 0
470 cipherSuites += CipherSuite.getSrpRsaSuites(settings.cipherNames)
471 cipherSuites += CipherSuite.getSrpSuites(settings.cipherNames)
473 cipherSuites += CipherSuite.getRsaSuites(settings.cipherNames)
477 CipherSuite.getSrpRsaSuites(settings.cipherNames)
479 CipherSuite.getSrpSuites(settings.cipherNames)
480 cipherSuites += CipherSuite.getRsaSuites(settings.cipherNames)
482 cipherSuites += CipherSuite.getRsaSuites(settings.cipherNames)
484 cipherSuites += CipherSuite.getRsaSuites(settings.cipherNames)
497 #ciphersuite must be one of the acceptable ciphersuite
    [all...]
  /external/chromium_org/net/ssl/
ssl_cipher_suite_names.cc 28 struct CipherSuite {
32 static const struct CipherSuite kCipherSuites[] = {
263 const CipherSuite* a = static_cast<const CipherSuite*>(ia);
264 const CipherSuite* b = static_cast<const CipherSuite*>(ib);
283 struct CipherSuite desired = {0};
293 const CipherSuite* cs = static_cast<CipherSuite*>(r);
  /external/chromium/net/base/
ssl_cipher_suite_names.cc 26 struct CipherSuite {
30 static const struct CipherSuite kCipherSuites[] = {
301 const CipherSuite* a = static_cast<const CipherSuite*>(ia);
302 const CipherSuite* b = static_cast<const CipherSuite*>(ib);
318 struct CipherSuite desired = {0};
328 const CipherSuite* cs = static_cast<CipherSuite*>(r);

Completed in 797 milliseconds

1 2