Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for AKID (0.12 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

    				return c
    			}(),
    			expectedIdentifier: "SN=1, SKID=, AKID=D3:07:CD:72:E6:BE:0A:5A:D8:E9:60:20:AF:C2:F2:36:7E:33:62:0B",
    		},
    		{
    			name: "empty AKID",
    			cert: func() *x509.Certificate {
    				c := getCert(t, clientCNCert)
    				c.AuthorityKeyId = nil
    				return c
    			}(),
    			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=",
    		},
    		{
    			name:               "self-signed",
    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. src/crypto/x509/parser.go

    	}
    	val := cryptobyte.String(e.Value)
    	var akid cryptobyte.String
    	if !val.ReadASN1(&akid, cryptobyte_asn1.SEQUENCE) {
    		return nil, errors.New("x509: invalid authority key identifier")
    	}
    	if akid.PeekASN1Tag(cryptobyte_asn1.Tag(0).ContextSpecific()) {
    		if !akid.ReadASN1(&akid, cryptobyte_asn1.Tag(0).ContextSpecific()) {
    			return nil, errors.New("x509: invalid authority key identifier")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  4. 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)
  5. cmd/api-errors.go

    	},
    	ErrCredMalformed: {
    		Code:           "AuthorizationQueryParametersError",
    		Description:    "Error parsing the X-Amz-Credential parameter; the Credential is mal-formed; expecting \"<YOUR-AKID>/YYYYMMDD/REGION/SERVICE/aws4_request\".",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMalformedDate: {
    		Code:           "MalformedDate",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  6. src/crypto/x509/verify_test.go

    		currentTime: 1540000000,
    		systemSkip:  true, // does not chain to a system root
    
    		errorCallback: expectHostnameError("certificate relies on legacy Common Name field"),
    	},
    	{
    		// A certificate with an AKID should still chain to a parent without SKID.
    		// See Issue 30079.
    		name:        "AKIDNoSKID",
    		leaf:        leafWithAKID,
    		roots:       []string{rootWithoutSKID},
    		currentTime: 1550000000,
    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