- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for isCompatible (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/ConnectionSpecTest.kt
CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName, ) assertThat(tlsSpec.isCompatible(socket)).isTrue() socket.enabledCipherSuites = arrayOf( CipherSuite.TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA.javaName, ) assertThat(tlsSpec.isCompatible(socket)).isFalse() } @Test fun allEnabledCipherSuites() { platform.assumeNotConscrypt()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/BloomFilterTest.java
BloomFilter<Integer> bf2 = BloomFilter.create(Funnels.integerFunnel(), 10); assertFalse(bf1.isCompatible(bf2)); assertThrows( IllegalArgumentException.class, () -> { bf1.putAll(bf2); }); assertFalse(bf2.isCompatible(bf1)); assertThrows( IllegalArgumentException.class, () -> { bf2.putAll(bf1); });
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 22.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt
connectionSpecs: List<ConnectionSpec>, sslSocket: SSLSocket, ): ConnectPlan? { for (i in connectionSpecIndex + 1 until connectionSpecs.size) { if (connectionSpecs[i].isCompatible(sslSocket)) { return copy(connectionSpecIndex = i, isTlsFallback = (connectionSpecIndex != -1)) } } return null }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Oct 08 03:50:05 UTC 2025 - 19.3K bytes - Viewed (2) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
* least one cipher suite enabled. * * For protocols, at least one of the [required protocols][tlsVersions] must match the socket's * enabled protocols. */ fun isCompatible(socket: SSLSocket): Boolean { if (!isTls) { return false } if (tlsVersionsAsString != null && !tlsVersionsAsString.hasIntersection(socket.enabledProtocols, naturalOrder()) ) {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* <li>have the same strategy * <li>have equal funnels * </ul> * * @param that The Bloom filter to check for compatibility. * @since 15.0 */ public boolean isCompatible(BloomFilter<T> that) { checkNotNull(that); return this != that && this.numHashFunctions == that.numHashFunctions && this.bitSize() == that.bitSize()
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 19:23:59 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val cipherSuites: List<CipherSuite>? = connectionSpec.cipherSuites val supportsTlsExtensions: Boolean = connectionSpec.supportsTlsExtensions val compatible: Boolean = connectionSpec.isCompatible( localhost().sslSocketFactory().createSocket() as SSLSocket, ) } @Test fun connectionSpecBuilder() { var builder = ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 47K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public final fun -deprecated_tlsVersions ()Ljava/util/List; public final fun cipherSuites ()Ljava/util/List; public fun equals (Ljava/lang/Object;)Z public fun hashCode ()I public final fun isCompatible (Ljavax/net/ssl/SSLSocket;)Z public final fun isTls ()Z public final fun supportsTlsExtensions ()Z public final fun tlsVersions ()Ljava/util/List; public fun toString ()Ljava/lang/String; }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.2K bytes - Viewed (0) -
okhttp/api/android/okhttp.api
public final fun -deprecated_tlsVersions ()Ljava/util/List; public final fun cipherSuites ()Ljava/util/List; public fun equals (Ljava/lang/Object;)Z public fun hashCode ()I public final fun isCompatible (Ljavax/net/ssl/SSLSocket;)Z public final fun isTls ()Z public final fun supportsTlsExtensions ()Z public final fun tlsVersions ()Ljava/util/List; public fun toString ()Ljava/lang/String; }
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Nov 05 18:28:35 UTC 2025 - 70.3K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
assertSame(innerTree, inner, "Should return correct inner tree"); } /** * Test for unwrap with incompatible type. * Verifies behavior when trying to unwrap to an incompatible type. */ @Test void testUnwrap_incompatibleType() { when(smbTree.unwrap(IncompatibleTree.class)).thenReturn(null);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/jcifs/pac/ASN1Util.java
* @param object the object to cast * @return object cast to type * @throws PACDecodingException if types are incompatible */ public static <T> T as(final Class<T> type, final Object object) throws PACDecodingException { if (!type.isInstance(object)) { throw new PACDecodingException("Incompatible object types " + type + " " + object.getClass()); } return type.cast(object); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.2K bytes - Viewed (0)