Searched refs:tlsSpec (Results 1 – 1 of 1) sorted by relevance
61 ConnectionSpec tlsSpec = new ConnectionSpec.Builder(true) in tlsBuilder_explicitCiphers() local66 assertEquals(Arrays.asList(CipherSuite.TLS_RSA_WITH_AES_128_CBC_SHA), tlsSpec.cipherSuites()); in tlsBuilder_explicitCiphers()67 assertEquals(Arrays.asList(TlsVersion.TLS_1_2), tlsSpec.tlsVersions()); in tlsBuilder_explicitCiphers()68 assertTrue(tlsSpec.supportsTlsExtensions()); in tlsBuilder_explicitCiphers()72 ConnectionSpec tlsSpec = new ConnectionSpec.Builder(true) in tlsBuilder_defaultCiphers() local76 assertNull(tlsSpec.cipherSuites()); in tlsBuilder_defaultCiphers()77 assertEquals(Arrays.asList(TlsVersion.TLS_1_2), tlsSpec.tlsVersions()); in tlsBuilder_defaultCiphers()78 assertTrue(tlsSpec.supportsTlsExtensions()); in tlsBuilder_defaultCiphers()82 ConnectionSpec tlsSpec = new ConnectionSpec.Builder(true) in tls_defaultCiphers_noFallbackIndicator() local97 assertTrue(tlsSpec.isCompatible(socket)); in tls_defaultCiphers_noFallbackIndicator()[all …]