Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SubjectKeyId (0.19 sec)

  1. tests/integration/ambient/cacert_rotation_test.go

    	// verify workload cert contains the correct intermediate cert
    	if !bytes.Equal(workloadX509.AuthorityKeyId, caX590.SubjectKeyId) {
    		return fmt.Errorf("workload certificate did not have expected authority key id: got %v wanted %v",
    			string(workloadX509.AuthorityKeyId), string(caX590.SubjectKeyId))
    	}
    
    	return nil
    }
    
    func getX509FromFile(t framework.TestContext, caCertFile string) *x509.Certificate {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/crypto/x509/cert_pool.go

    		if err != nil {
    			continue
    		}
    		kidMatch := bytes.Equal(candidate.SubjectKeyId, cert.AuthorityKeyId)
    		switch {
    		case kidMatch:
    			matchingKeyID = append(matchingKeyID, potentialParent{candidate, constraint})
    		case (len(candidate.SubjectKeyId) == 0 && len(cert.AuthorityKeyId) > 0) ||
    			(len(candidate.SubjectKeyId) > 0 && len(cert.AuthorityKeyId) == 0):
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. pkg/controller/certificates/authority/authority_test.go

    	}{
    		{
    			name:   "ca info",
    			policy: PermissiveSigningPolicy{TTL: time.Hour, Now: nowFunc},
    			want: x509.Certificate{
    				Issuer:                caCert.Subject,
    				AuthorityKeyId:        caCert.SubjectKeyId,
    				NotBefore:             now,
    				NotAfter:              now.Add(1 * time.Hour),
    				BasicConstraintsValid: true,
    			},
    		},
    		{
    			name:   "key usage",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 23 19:36:11 UTC 2021
    - 7.3K bytes
    - Viewed (0)
Back to top