Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for WithTag (0.12 sec)

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

       * ```
       *
       * The first property of the pair is the adapter that was used, the second property is the value.
       */
      internal val generalNameDnsName = Adapters.IA5_STRING.withTag(tag = 2L)
      internal val generalNameIpAddress = Adapters.OCTET_STRING.withTag(tag = 7L)
      internal val generalName: DerAdapter<Pair<DerAdapter<*>, Any?>> =
        Adapters.choice(
          generalNameDnsName,
          generalNameIpAddress,
          Adapters.ANY_VALUE,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. container-tests/src/test/java/okhttp3/containers/BasicMockServerTest.kt

        }
      }
    
      companion object {
        val MOCKSERVER_IMAGE: DockerImageName =
          DockerImageName
            .parse("mockserver/mockserver")
            .withTag("mockserver-5.15.0")
    
        fun OkHttpClient.Builder.trustMockServer(): OkHttpClient.Builder =
          apply {
            val keyStoreFactory = KeyStoreFactory(Configuration.configuration(), MockServerLogger())
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. container-tests/src/test/java/okhttp3/containers/SocksProxyTest.kt

          assertThat(response.body.string()).contains("Peter the person")
        }
      }
    
      companion object {
        val SOCKS5_PROXY: DockerImageName =
          DockerImageName
            .parse("serjs/go-socks5-proxy")
            .withTag("v0.0.3")
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        val bytes = "85026869".decodeHex()
        val implicitAdapter = Adapters.UTF8_STRING.withTag(tag = 5L)
        assertThat(implicitAdapter.fromDer(bytes)).isEqualTo("hi")
        assertThat(implicitAdapter.toDer("hi")).isEqualTo(bytes)
      }
    
      @Test fun `encode implicit`() {
        // [5] IMPLICIT UTF8String
        val implicitAdapter = Adapters.UTF8_STRING.withTag(tag = 5L)
        val string = implicitAdapter.fromDer("85026869".decodeHex())
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

       * is [DerHeader.TAG_CLASS_CONTEXT_SPECIFIC].
       *
       * ```
       * Point ::= SEQUENCE {
       *   x [APPLICATION 0] INTEGER OPTIONAL,
       *   y [APPLICATION 1] INTEGER OPTIONAL
       * }
       * ```
       */
      fun withTag(
        tagClass: Int = DerHeader.TAG_CLASS_CONTEXT_SPECIFIC,
        tag: Long,
      ): BasicDerAdapter<T> = copy(tagClass = tagClass, tag = tag)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. pkg/kubelet/images/image_manager.go

    	if len(digest) == 0 && len(tag) > 0 && !strings.HasSuffix(image, ":"+tag) {
    		// we just concatenate the image name with the default tag here instead
    		// of using dockerref.WithTag(named, ...) because that would cause the
    		// image to be fully qualified as docker.io/$name if it's a short name
    		// (e.g. just busybox). We don't want that to happen to keep the CRI
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 08 00:30:31 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top