Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for maxIntermediateCas (0.06 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

         */
        fun certificateAuthority(maxIntermediateCas: Int) =
          apply {
            require(maxIntermediateCas >= 0) {
              "maxIntermediateCas < 0: $maxIntermediateCas"
            }
            this.maxIntermediateCas = maxIntermediateCas
          }
    
        /**
         * Configure the certificate to generate a 256-bit ECDSA key, which provides about 128 bits of
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

          Adapters.INTEGER_AS_LONG.optional(),
          decompose = {
            listOf(
              it.ca,
              it.maxIntermediateCas,
            )
          },
          construct = {
            BasicConstraints(
              ca = it[0] as Boolean,
              maxIntermediateCas = it[1] as Long?,
            )
          },
        )
    
      /**
       * Note that only a subset of available choices are implemented.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

    internal data class BasicConstraints(
      /** True if this certificate can be used as a Certificate Authority (CA). */
      val ca: Boolean,
      /** The maximum number of intermediate CAs between this and leaf certificates. */
      val maxIntermediateCas: Long?,
    )
    
    /** A private key. Note that this class doesn't support attributes or an embedded public key. */
    internal data class PrivateKeyInfo(
      // v1(0), v2(1).
      val version: Long,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

                      id = BASIC_CONSTRAINTS,
                      critical = true,
                      value =
                        BasicConstraints(
                          ca = true,
                          maxIntermediateCas = 1L,
                        ),
                    ),
                    Extension(
                      id = authorityInfoAccess,
                      critical = false,
                      value =
                        (
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 43.9K bytes
    - Viewed (0)
Back to top