- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 381 for isSupported (0.06 sec)
-
src/test/java/jcifs/smb/SSPContextTest.java
assertTrue(ctx.isMICAvailable(), "MIC available when established + integrity"); assertTrue(ctx.isSupported(mech1), "mech1 supported"); assertTrue(ctx.isPreferredMech(mech1), "first supported is preferred"); assertArrayEquals(new ASN1ObjectIdentifier[] { mech1, mech2 }, ctx.getSupportedMechs(), "supported mechs");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.2K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/AndroidPlatform.kt
} catch (_: InvocationTargetException) { null } } companion object { val Tag = "OkHttp" val isSupported: Boolean = isAndroid && Build.VERSION.SDK_INT in 21 until 29 fun buildIfSupported(): Platform? = if (isSupported) AndroidPlatform() else null }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu May 29 16:52:38 UTC 2025 - 6.5K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt
if (level == WARN) { Log.w(Tag, message, t) } else { Log.i(Tag, message, t) } } companion object { val isSupported: Boolean = isAndroid && Build.VERSION.SDK_INT >= 29 fun buildIfSupported(): Platform? = if (isSupported) Android10Platform() else null }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Jul 20 11:25:50 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5ContextTest.java
} @ParameterizedTest @MethodSource("supportedMechs") @DisplayName("isSupported returns true for supported OIDs") void isSupported_supportedOids(ASN1ObjectIdentifier oid) { assertTrue(ctx.isSupported(oid)); assertTrue(ctx.isPreferredMech(oid)); } @Test @DisplayName("isSupported returns false for null/unknown OIDs") void isSupported_unknownOrNull() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SpnegoContextTest.java
void testGetSupportedMechs() { SpnegoContext ctx = newContext(); ASN1ObjectIdentifier[] supported = ctx.getSupportedMechs(); assertNotNull(supported); assertEquals(1, supported.length); assertEquals(new ASN1ObjectIdentifier("1.3.6.1.5.5.2"), supported[0]); } @Test @DisplayName("isSupported always returns false (prevents nesting)") void testIsSupportedAlwaysFalse() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/SpnegoContext.java
// only use token if the optimistic mechanism is supported if (this.mechContext.isSupported(prefMech)) { inputToken = tinit.getMechanismToken(); } else { ASN1ObjectIdentifier found = null; for (final ASN1ObjectIdentifier mech : rm) { if (this.mechContext.isSupported(mech)) { found = mech;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Context.java
this.gssContext.requestCredDeleg(true); } /** * * {@inheritDoc} * * @see jcifs.smb.SSPContext#isSupported(org.bouncycastle.asn1.ASN1ObjectIdentifier) */ @Override public boolean isSupported(ASN1ObjectIdentifier mechanism) { return KRB5_MECH_OID.equals(mechanism) || KRB5_MS_MECH_OID.equals(mechanism); } /** * {@inheritDoc}
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13.5K bytes - Viewed (1) -
src/main/java/jcifs/smb/NtlmContext.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
android-test-app/src/main/kotlin/okhttp/android/testapp/MainActivity.kt
override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) val client = OkHttpClient() // Ensure we are compiling against the right variant println(AndroidPlatform.isSupported) val url = "https://github.com/square/okhttp".toHttpUrl() println(url.topPrivateDomain()) client.newCall(Request(url)).enqueue( object : Callback { override fun onFailure(
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Aug 19 08:10:39 UTC 2025 - 1.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SSPContext.java
*/ void dispose() throws CIFSException; /** * Checks whether the specified security mechanism is supported. * @param mechanism the security mechanism OID to check * @return whether the specified mechanism is supported */ boolean isSupported(ASN1ObjectIdentifier mechanism); /** * Checks whether the specified mechanism is the preferred mechanism.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.9K bytes - Viewed (0)