Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for EXPLICIT (0.54 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

      /**
       * Returns an adapter that expects this value wrapped by another value. Typically this occurs
       * when a value has both a context or application tag and a universal tag.
       *
       * Use this for EXPLICIT tag types:
       *
       * ```
       * [5] EXPLICIT UTF8String
       * ```
       *
       * @param forceConstructed non-null to set the constructed bit to the specified value, even if the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

          this.platform = platform
        }
    
        fun alpnProtocolNames(protocols: List<Protocol>) = protocols.filter { it != Protocol.HTTP_1_0 }.map { it.toString() }
    
        // This explicit check avoids activating in Android Studio with Android specific classes
        // available when running plugins inside the IDE.
        val isAndroid: Boolean
          get() = "Dalvik" == System.getProperty("java.vm.name")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  3. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        val implicitAdapter = Adapters.UTF8_STRING.withTag(tag = 5L)
        val string = implicitAdapter.fromDer("85026869".decodeHex())
        assertThat(string).isEqualTo("hi")
      }
    
      @Test fun `explicit tag`() {
        // [5] EXPLICIT UTF8String
        val bytes = "A5040C026869".decodeHex()
        val explicitAdapter = Adapters.UTF8_STRING.withExplicitBox(tag = 5L)
        assertThat(explicitAdapter.fromDer(bytes)).isEqualTo("hi")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

              subjectPublicKey = it[1] as BitString,
            )
          },
        )
    
      /**
       * ```
       * TBSCertificate ::= SEQUENCE  {
       *   version         [0]  EXPLICIT Version DEFAULT v1,
       *   serialNumber         CertificateSerialNumber,
       *   signature            AlgorithmIdentifier,
       *   issuer               Name,
       *   validity             Validity,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  5. docs/changelogs/changelog_4x.md

        multiple `OkHttpClient` instances.
    
        This particularly-subtle bug was caused by us assigning each `OkHttpClient` instance its own
        `NullProxySelector` when an explicit proxy is configured. But we don't share connections when
        the proxy selectors are different. Ugh!
    
    
    ## Version 4.2.0
    
    _2019-09-10_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Address.kt

    import javax.net.ssl.SSLSocketFactory
    import okhttp3.internal.toImmutableList
    
    /**
     * A specification for a connection to an origin server. For simple connections, this is the
     * server's hostname and port. If an explicit proxy is requested (or [no proxy][Proxy.NO_PROXY] is
     * explicitly requested), this also includes that proxy information. For secure connections the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * This class has a modern API. It avoids punitive checked exceptions: [toHttpUrl] throws
     * [IllegalArgumentException] on invalid input or [toHttpUrlOrNull] returns null if the input is an
     * invalid URL. You can even be explicit about whether each component has been encoded already.
     *
     * [idna]: http://www.unicode.org/reports/tr46/#ToASCII
     */
    class HttpUrl private constructor(
      /** Either "http" or "https". */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

        }
    
      /** Names leading to the current location in the ASN.1 document. */
      private val path = mutableListOf<String>()
    
      /**
       * False unless we made a recursive call to [write] at the current stack frame. The explicit box
       * adapter can clear this to synthesize non-constructed values that are embedded in octet strings.
       */
      var constructed = false
    
      fun write(
        name: String,
        tagClass: Int,
        tag: Long,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
Back to top