Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 537 for isSupported (0.07 sec)

  1. 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)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

      private val setAlpnProtocols =
        sslSocketClass.getMethod("setAlpnProtocols", ByteArray::class.java)
    
      override fun isSupported(): Boolean = AndroidPlatform.isSupported
    
      override fun matchesSocket(sslSocket: SSLSocket): Boolean = sslSocketClass.isInstance(sslSocket)
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

     */
    class DeferredSocketAdapter(
      private val socketAdapterFactory: Factory,
    ) : SocketAdapter {
      private var delegate: SocketAdapter? = null
    
      override fun isSupported(): Boolean = true
    
      override fun matchesSocket(sslSocket: SSLSocket): Boolean = socketAdapterFactory.matchesSocket(sslSocket)
    
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
        hostname: String?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

        newSSLContext()
          .apply {
            init(null, arrayOf<TrustManager>(trustManager), null)
          }.socketFactory
    
      companion object {
        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.conscrypt.Conscrypt\$Version", false, javaClass.classLoader)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  5. 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)
  6. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/SocketAdapter.kt

    package okhttp3.internal.platform.android
    
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.X509TrustManager
    import okhttp3.Protocol
    
    interface SocketAdapter {
      fun isSupported(): Boolean
    
      fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? = null
    
      fun matchesSocket(sslSocket: SSLSocket): Boolean
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmContext.java

        @Override
        public int getFlags() {
            return 0;
        }
    
        /**
         *
         * {@inheritDoc}
         *
         * @see jcifs.smb.SSPContext#isSupported(org.bouncycastle.asn1.ASN1ObjectIdentifier)
         */
        @Override
        public boolean isSupported(final ASN1ObjectIdentifier mechanism) {
            return NTLMSSP_OID.equals(mechanism);
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformRule.kt

              }
            } else if (platformSystemProperty == OPENJSSE_PROPERTY && Security.getProviders()[0].name != "OpenJSSE") {
              if (!OpenJSSEPlatform.isSupported) {
                System.err.println("Warning: OpenJSSE not available")
              }
    
              if (System.getProperty("javax.net.debug") == null) {
                System.setProperty("javax.net.debug", "")
              }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 15.4K bytes
    - Viewed (1)
Back to top