Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 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)
Back to top