Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for serialNumber (0.07 sec)

  1. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

        val root =
          HeldCertificate.Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
            .build()
        val certA =
          HeldCertificate.Builder()
            .serialNumber(2L)
            .certificateAuthority(0)
            .signedBy(root)
            .build()
        val certB =
          HeldCertificate.Builder()
            .serialNumber(3L)
            .signedBy(certA)
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

        val rootCa =
          HeldCertificate.Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
            .commonName("root")
            .build()
        val intermediateCa =
          HeldCertificate.Builder()
            .signedBy(rootCa)
            .certificateAuthority(0)
            .serialNumber(2L)
            .commonName("intermediate_ca")
            .build()
        val certificate =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/compare/sds/writer_test.go

    					Destination: "destination",
    					SecretMeta: SecretMeta{
    						Valid:        true,
    						SerialNumber: "serial_number",
    						NotAfter:     "expires",
    						NotBefore:    "valid",
    						Type:         "type",
    					},
    				},
    			},
    			expected: append(
    				[]string{"olinger", "serial_number", "expires", "valid", "type"},
    				secretItemColumns...),
    			unexpected: []string{"source", "destination", "certdata"},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        fun serialNumber(serialNumber: BigInteger) =
          apply {
            this.serialNumber = serialNumber
          }
    
        /** Sets this certificate's serial number. If unset the serial number will be 1. */
        fun serialNumber(serialNumber: Long) =
          apply {
            serialNumber(BigInteger.valueOf(serialNumber))
          }
    
        /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

        assertThat(okHttpCertificate.tbsCertificate.serialNumber).isEqualTo(BigInteger("17"))
      }
    
      @Test
      fun `missing subject alternative names`() {
        val certificate =
          HeldCertificate.Builder()
            .certificateAuthority(3)
            .commonName("Jurassic Park")
            .organizationalUnit("Gene Research")
            .validityInterval(-1000L, 2000L)
            .serialNumber(17L)
            .build()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

        val certA1 =
          HeldCertificate.Builder()
            .serialNumber(100L)
            .build()
        val certA1Sha256Pin = pin(certA1.certificate)
        val certB1 =
          HeldCertificate.Builder()
            .serialNumber(200L)
            .build()
        val certB1Sha256Pin = pin(certB1.certificate)
        val certC1 =
          HeldCertificate.Builder()
            .serialNumber(300L)
            .build()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

        serverRootCa =
          HeldCertificate.Builder()
            .serialNumber(1L)
            .certificateAuthority(1)
            .commonName("root")
            .addSubjectAlternativeName("root_ca.com")
            .build()
        serverIntermediateCa =
          HeldCertificate.Builder()
            .signedBy(serverRootCa)
            .certificateAuthority(0)
            .serialNumber(2L)
            .commonName("intermediate_ca")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/sds/util.go

    	if trustDomain == "" {
    		for _, uri := range cert.URIs {
    			if uri.Scheme == "spiffe" {
    				trustDomain = uri.Host
    			}
    		}
    	}
    
    	today := time.Now()
    	return SecretMeta{
    		SerialNumber: fmt.Sprintf("%x", cert.SerialNumber),
    		NotAfter:     cert.NotAfter.Format(time.RFC3339),
    		NotBefore:    cert.NotBefore.Format(time.RFC3339),
    		Type:         certType,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/sds/writer.go

    		if !hasUnknownTrustDomain {
    			fmt.Fprintf(tw, "%s\t%s\t%s\t%t\t%s\t%s\t%s\t%s\n",
    				s.Name, s.Type, s.State, s.Valid, s.SerialNumber, s.NotAfter, s.NotBefore, s.SecretMeta.TrustDomain)
    		} else {
    			fmt.Fprintf(tw, "%s\t%s\t%s\t%t\t%s\t%s\t%s\n",
    				s.Name, s.Type, s.State, s.Valid, s.SerialNumber, s.NotAfter, s.NotBefore)
    		}
    	}
    	return tw.Flush()
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Oct 28 19:52:53 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. okhttp-tls/api/okhttp-tls.api

    	public final fun organizationalUnit (Ljava/lang/String;)Lokhttp3/tls/HeldCertificate$Builder;
    	public final fun rsa2048 ()Lokhttp3/tls/HeldCertificate$Builder;
    	public final fun serialNumber (J)Lokhttp3/tls/HeldCertificate$Builder;
    	public final fun serialNumber (Ljava/math/BigInteger;)Lokhttp3/tls/HeldCertificate$Builder;
    	public final fun signedBy (Lokhttp3/tls/HeldCertificate;)Lokhttp3/tls/HeldCertificate$Builder;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 26 19:17:33 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top