Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for maxIntermediateCas (0.29 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/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)
  4. cmd/sts-handlers.go

    	const MaxIntermediateCAs = 10
    	var (
    		peerCertificates = make([]*x509.Certificate, 0, len(r.TLS.PeerCertificates))
    		intermediates    *x509.CertPool
    		numIntermediates int
    	)
    	for _, cert := range r.TLS.PeerCertificates {
    		if cert.IsCA {
    			numIntermediates++
    			if numIntermediates > MaxIntermediateCAs {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 36.6K bytes
    - Viewed (0)
Back to top