Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for intermediates (0.08 sec)

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

          this.intermediates = arrayOf(*intermediates) // Defensive copy.
        }
    
        /**
         * Add a trusted root certificate to use when authenticating a peer. Peers must provide
         * a chain of certificates whose root is one of these.
         */
        fun addTrustedCertificate(certificate: X509Certificate) =
          apply {
            this.trustedCertificates += certificate
          }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

        keyStoreType: String?,
        heldCertificate: HeldCertificate?,
        vararg intermediates: X509Certificate,
      ): X509KeyManager {
        val keyStore = newEmptyKeyStore(keyStoreType)
        if (heldCertificate != null) {
          val chain = arrayOfNulls<Certificate>(1 + intermediates.size)
          chain[0] = heldCertificate.certificate
          intermediates.copyInto(chain, 1)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

      ): Boolean {
        if (toVerify.issuerDN != signingCert.subjectDN) {
          return false
        }
        if (signingCert.basicConstraints < minIntermediates) {
          return false // The signer can't have this many intermediates beneath it.
        }
        return try {
          toVerify.verify(signingCert.publicKey)
          true
        } catch (verifyFailed: GeneralSecurityException) {
          false
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. okhttp-tls/README.md

    representative of real-world HTTPS deployment. To get closer to that we can use `HeldCertificate`
    to generate a trusted root certificate, an intermediate certificate, and a server certificate.
    We use `certificateAuthority(int)` to create certificates that can sign other certificates. The
    int specifies how many intermediate certificates are allowed beneath it in the chain.
    
    ```java
    HeldCertificate rootCertificate = new HeldCertificate.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

          .isEqualTo(
            list(certificate, intermediateCa, trusted),
          )
        assertThat(cleaner.clean(list(certificate, intermediateCa, trusted), "hostname"))
          .isEqualTo(
            list(certificate, intermediateCa, trusted),
          )
      }
    
      @Test
      fun chainMaxLength() {
        val heldCertificates = chainOfLength(10)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

        val root =
          HeldCertificate.Builder()
            .certificateAuthority(1)
            .build()
        val intermediate =
          HeldCertificate.Builder()
            .certificateAuthority(0)
            .signedBy(root)
            .build()
        val certificate =
          HeldCertificate.Builder()
            .signedBy(intermediate)
            .build()
        val handshakeCertificates =
          HandshakeCertificates.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  7. .github/ISSUE_TEMPLATE/11-language-change.yml

      - type: dropdown
        id: author-go-experience
        attributes:
          label: "Go Programming Experience"
          description: "Would you consider yourself a novice, intermediate, or experienced Go programmer?"
          options:
            - "Novice"
            - "Intermediate"
            - "Experienced"
          default: 1
    
      - type: input
        id: author-other-languages-experience
        attributes:
          label: "Other Languages Experience"
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Aug 08 19:02:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java

        /**
         * Resources to include with the generated documentation.
         */
        public abstract ConfigurableFileCollection getResources();
    
        /**
         * Location to stage the intermediate documentation. This is like a working directory.
         */
        public abstract DirectoryProperty getStagingRoot();
    
        public abstract RegularFileProperty getGeneratedMetaDataFile();
    
        /**
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/util.go

    // SecretItemDiff represents a secret that has been diffed between nodeagent and proxy
    type SecretItemDiff struct {
    	Agent string `json:"agent"`
    	Proxy string `json:"proxy"`
    	SecretItem
    }
    
    // SecretItem is an intermediate representation of secrets, used to provide a common
    // format between the envoy proxy secrets and node agent output which can be diffed
    type SecretItem struct {
    	Name        string `json:"resource_name"`
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. architecture/security/istio-agent.md

    # Istio Agent
    
    This document describes the internal architecture of Istio agent.
    
    ## High Level overview
    
    ![High Level overview](docs/overview.svg)
    
    At a high level, the Istio agent acts as an intermediate proxy between Istiod and Envoy. This is done
    at two levels. For distributing workload certificates, Envoy will send [SDS](https://www.envoyproxy.io/docs/envoy/latest/configuration/security/secret)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 18 23:11:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top