Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for SKID (0.05 sec)

  1. src/crypto/x509/cert_pool.go

    	// when picking possible candidates the list is built in the order
    	// of match plausibility as to save cycles in buildChains:
    	//   AKID and SKID match
    	//   AKID present, SKID missing / AKID missing, SKID present
    	//   AKID and SKID don't match
    	var matchingKeyID, oneKeyID, mismatchKeyID []potentialParent
    	for _, c := range s.byName[string(cert.RawIssuer)] {
    		candidate, constraint, err := s.cert(c)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509_test.go

    			expectedIdentifier: "SN=1, SKID=FB:77:D6:D0:84:A8:10:DF:FA:4E:A4:E0:F1:2A:BB:B4:80:FD:4F:3F, AKID=D3:07:CD:72:E6:BE:0A:5A:D8:E9:60:20:AF:C2:F2:36:7E:33:62:0B",
    		},
    		{
    			name: "nil serial",
    			cert: func() *x509.Certificate {
    				c := getCert(t, clientCNCert)
    				c.SerialNumber = nil
    				return c
    			}(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 23:23:03 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    		sb.WriteRune(r)
    		if i%2 == 1 && i != len(h)-1 {
    			sb.WriteRune(':')
    		}
    	}
    	return sb.String()
    }
    
    func certificateIdentifier(c *x509.Certificate) string {
    	return fmt.Sprintf(
    		"SN=%d, SKID=%s, AKID=%s",
    		c.SerialNumber,
    		columnSeparatedHex(c.SubjectKeyId),
    		columnSeparatedHex(c.AuthorityKeyId),
    	)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. src/crypto/x509/parser.go

    					return errors.New("x509: subject key identifier incorrectly marked critical")
    				}
    				val := cryptobyte.String(e.Value)
    				var skid cryptobyte.String
    				if !val.ReadASN1(&skid, cryptobyte_asn1.OCTET_STRING) {
    					return errors.New("x509: invalid subject key identifier")
    				}
    				out.SubjectKeyId = skid
    			case 32:
    				out.Policies, err = parseCertificatePoliciesExtension(e.Value)
    				if err != nil {
    					return err
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  5. src/crypto/x509/verify_test.go

    		expectedChains: [][]string{
    			{"Acme LLC", "Acme Co"},
    		},
    	},
    	{
    		// When there are two parents, one with an incorrect subject but matching SKID
    		// and one with a correct subject but missing SKID, the latter should be
    		// considered as a possible parent.
    		leaf:        leafMatchingAKIDMatchingIssuer,
    		roots:       []string{rootMatchingSKIDMismatchingSubject, rootMismatchingSKIDMatchingSubject},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
Back to top