Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for ekus (0.04 sec)

  1. src/crypto/x509/name_constraints_test.go

    		case "netscapeSGC":
    			ekus = append(ekus, ExtKeyUsageNetscapeServerGatedCrypto)
    		case "msSGC":
    			ekus = append(ekus, ExtKeyUsageMicrosoftServerGatedCrypto)
    		case "any":
    			ekus = append(ekus, ExtKeyUsageAny)
    		case "other":
    			unknowns = append(unknowns, asn1.ObjectIdentifier{2, 4, 1, 2, 3})
    		default:
    			return nil, nil, fmt.Errorf("unknown EKU %q", s)
    		}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. src/crypto/x509/verify_test.go

    			root:       ekuDescs{EKUs: []ExtKeyUsage{ExtKeyUsageServerAuth}},
    			inters:     []ekuDescs{ekuDescs{EKUs: []ExtKeyUsage{ExtKeyUsageServerAuth, ExtKeyUsageClientAuth}}},
    			leaf:       ekuDescs{EKUs: []ExtKeyUsage{ExtKeyUsageServerAuth, ExtKeyUsageClientAuth}},
    			verifyEKUs: []ExtKeyUsage{ExtKeyUsageServerAuth, ExtKeyUsageClientAuth},
    		},
    		{
    			name: "invalid, ladder",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  3. src/crypto/x509/verify.go

    // the constrained name to be considered valid.
    //
    // Extended Key Usage values are enforced nested down a chain, so an intermediate
    // or root that enumerates EKUs prevents a leaf from asserting an EKU not in that
    // list. (While this is not specified, it is common practice in order to limit
    // the types of certificates a CA can issue.)
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  4. releasenotes/notes/fix-eks-ipv6.yaml

    apiVersion: release-notes/v2
    kind: bug-fix
    area: traffic-management
    issue:
      - 36961
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 08 20:18:08 UTC 2022
    - 246 bytes
    - Viewed (0)
  5. cmd/common-main_test.go

    			tmpfile.Close()
    
    			ekvs, err := minioEnvironFromFile(tmpfile.Name())
    			if err != nil && !testCase.expectedErr {
    				t.Error(err)
    			}
    			if err == nil && testCase.expectedErr {
    				t.Error(errors.New("expected error, found success"))
    			}
    
    			if len(ekvs) != len(testCase.expectedEkvs) {
    				t.Errorf("expected %v keys, got %v keys", len(testCase.expectedEkvs), len(ekvs))
    			}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  6. src/crypto/x509/platform_test.go

    			},
    			time: now.Add(time.Minute * 30),
    		},
    		{
    			name: "valid (with eku)",
    			cert: &Certificate{
    				SerialNumber: big.NewInt(1),
    				DNSNames:     []string{"valid.testing.golang.invalid"},
    				NotBefore:    now.Add(-time.Hour),
    				NotAfter:     now.Add(time.Hour),
    				ExtKeyUsage:  []ExtKeyUsage{ExtKeyUsageServerAuth},
    			},
    			eku: []ExtKeyUsage{ExtKeyUsageServerAuth},
    		},
    		{
    			name: "wrong name",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 17:18:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. pkg/kube/version_test.go

    		},
    		{
    			name:  "1.28",
    			major: "1",
    			minor: "28",
    			want:  128,
    		},
    		{
    			// {"major": "1","minor": "28+","gitVersion": "v1.28.9-eks-036c24b",...}
    			name:       "EKS",
    			major:      "1",
    			minor:      "28+",
    			gitVersion: "v1.28.9-eks-036c24b",
    			want:       128,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			c := NewFakeClient()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 23:16:29 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. releasenotes/notes/helm_chart_gateway_serviceaccount_annotations.yaml

    releaseNotes:
    - |
      **Added** values to the Istio Gateway Helm charts for configuring annotations on the ServiceAccount.  Can be used to enable [IAM Roles for Service Accounts](https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts.html) on AWS EKS.
    
    upgradeNotes: []
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 23 21:35:49 UTC 2021
    - 450 bytes
    - Viewed (0)
  9. pkg/controller/certificates/authority/policies_test.go

    		t.Run(fmt.Sprint(tc.usages), func(t *testing.T) {
    			ku, eku, err := keyUsagesFromStrings(tc.usages)
    
    			if tc.expectErr {
    				if err == nil {
    					t.Errorf("did not return an error, but expected one")
    				}
    				return
    			}
    
    			if err != nil {
    				t.Errorf("unexpected error: %v", err)
    			}
    
    			if ku != tc.expectedKeyUsage || !reflect.DeepEqual(eku, tc.expectedExtKeyUsage) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 05 22:45:34 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  10. src/crypto/x509/root_windows.go

    // OIDs for use with the Windows API.
    var windowsExtKeyUsageOIDs = make(map[ExtKeyUsage][]byte, len(extKeyUsageOIDs))
    
    func init() {
    	for _, eku := range extKeyUsageOIDs {
    		windowsExtKeyUsageOIDs[eku.extKeyUsage] = []byte(eku.oid.String() + "\x00")
    	}
    }
    
    func verifyChain(c *Certificate, chainCtx *syscall.CertChainContext, opts *VerifyOptions) (chain []*Certificate, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top