Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 716 for isSupported (0.04 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  2. 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 Dec 26 11:42:13 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/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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  5. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  6. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Aug 19 08:10:39 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 17.3K bytes
    - Viewed (1)
  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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/AbstractXmlExtractor.java

                }
                final Matcher matcher = getEncodingPattern().matcher(head);
                if (matcher.find()) {
                    final String enc = matcher.group(1);
                    if (Charset.isSupported(enc)) {
                        return enc;
                    }
                }
            } catch (final Exception e) {
                if (logger.isInfoEnabled()) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 12:19:14 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top