Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for leaf (0.04 sec)

  1. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

            .certificateAuthority(0)
            .rsa2048()
            .build()
        val leaf =
          HeldCertificate.Builder()
            .certificateAuthority(0)
            .ecdsa256()
            .signedBy(root)
            .build()
        assertThat(root.certificate.sigAlgName).isEqualTo("SHA256WITHRSA", ignoreCase = true)
        assertThat(leaf.certificate.sigAlgName).isEqualTo("SHA256WITHRSA", ignoreCase = true)
      }
    
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  2. 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).
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. internal/logger/logonce.go

    func unwrapErrs(err error) (leafErr error) {
    	uerr := errors.Unwrap(err)
    	depth := 1
    	for uerr != nil {
    		// Save the current `uerr`
    		leafErr = uerr
    		// continue to look for leaf errors underneath
    		uerr = errors.Unwrap(leafErr)
    		depth++
    		if depth == unwrapErrsDepth {
    			// If we have reached enough depth we
    			// do not further recurse down, this
    			// is done to avoid any unnecessary
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

        val cleaner = get(root)
        assertFailsWith<SSLPeerUnverifiedException> {
          cleaner.clean(certificates, "hostname")
        }
      }
    
      /** Returns a chain starting at the leaf certificate and progressing to the root.  */
      private fun chainOfLength(length: Int): List<HeldCertificate> {
        val result = mutableListOf<HeldCertificate>()
        for (i in 1..length) {
          result.add(
            0,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. cmd/sts-handlers.go

    	peerCertificates := make([]*x509.Certificate, 0, len(r.TLS.PeerCertificates))
    	for _, cert := range r.TLS.PeerCertificates {
    		if cert.IsCA {
    			continue
    		}
    		peerCertificates = append(peerCertificates, cert)
    	}
    	r.TLS.PeerCertificates = peerCertificates
    
    	// Now, we have to check that the client has provided exactly one leaf
    	// certificate that we can map to a policy.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 01:29:20 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

            .signedBy(pinnedRoot)
            .build()
        val attackerSwitch =
          HeldCertificate.Builder()
            .serialNumber(5L)
            .keyPair(attackerIntermediate.keyPair) // share keys between compromised CA and leaf!
            .commonName("attacker")
            .addSubjectAlternativeName("attacker.com")
            .signedBy(pinnedIntermediate)
            .build()
        val phonyVictim =
          HeldCertificate.Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  7. doc/asm.html

    </li>
    <li>
    <code>NOFRAME</code> = 512
    <br>
    (For <code>TEXT</code> items.)
    Do not insert instructions to allocate a stack frame and save/restore the return
    address, even if this is not a leaf function.
    Only valid on functions that declare a frame size of 0.
    </li>
    <li>
    <code>TOPFRAME</code> = 2048
    <br>
    (For <code>TEXT</code> items.)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Nov 28 19:15:27 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    // branch level, and contains link to children branches or leaves.
    //
    // The leaves are "compacted" based on a number of properties.
    // A compacted leaf contains the totals of all files beneath it.
    //
    // A leaf is only scanned once every dataUsageUpdateDirCycles,
    // rarer if the bloom filter for the path is clean and no lifecycles are applied.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. doc/godebug.md

    using the [`tls3des` setting](/pkg/crypto/tls/#Config.CipherSuites).
    
    Go 1.23 changed the behavior of [`tls.X509KeyPair`](/pkg/crypto/tls#X509KeyPair)
    and [`tls.LoadX509KeyPair`](/pkg/crypto/tls#LoadX509KeyPair) to populate the
    Leaf field of the returned [`tls.Certificate`](/pkg/crypto/tls#Certificate).
    This behavior is controlled by the `x509keypairleaf` setting. For Go 1.23, it
    defaults to `x509keypairleaf=1`. Previous versions default to
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Oct 28 14:46:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * is by declaring that step to be the last step of the pipeline. Nevertheless, we refer to the
     * "value" of a successful step or the "result" (value or exception) of any step.
     *
     * <ol>
     *   <li>A pipeline starts at its leaf step (or steps), which is created from either a callable
     *       block or a {@link ListenableFuture}.
     *   <li>Each other step is derived from one or more input steps. At each step, zero or more objects
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
Back to top