Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 697 for Usages (0.15 sec)

  1. platforms/documentation/docs/src/snippets/java/fixtures/tests/usages.out

    Laura Kassovic <******@****.***> 1701107622 -0800
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 28 bytes
    - Viewed (0)
  2. pkg/apis/certificates/v1beta1/defaults.go

    }
    
    func IsKubeletClientCSR(req *x509.CertificateRequest, usages []certificatesv1beta1.KeyUsage) bool {
    	return certificates.IsKubeletClientCSR(req, usagesToSet(usages))
    }
    
    func usagesToSet(usages []certificatesv1beta1.KeyUsage) sets.String {
    	result := sets.NewString()
    	for _, usage := range usages {
    		result.Insert(string(usage))
    	}
    	return result
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 15:37:57 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. pkg/apis/certificates/helpers.go

    		string(UsageDigitalSignature),
    		string(UsageServerAuth),
    	)
    )
    
    func IsKubeletServingCSR(req *x509.CertificateRequest, usages sets.String) bool {
    	return ValidateKubeletServingCSR(req, usages) == nil
    }
    func ValidateKubeletServingCSR(req *x509.CertificateRequest, usages sets.String) error {
    	if !reflect.DeepEqual([]string{"system:nodes"}, req.Subject.Organization) {
    		return organizationNotSystemNodesErr
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 4K bytes
    - Viewed (0)
  4. pkg/controller/certificates/authority/policies_test.go

    	testcases := []struct {
    		usages              []capi.KeyUsage
    		expectedKeyUsage    x509.KeyUsage
    		expectedExtKeyUsage []x509.ExtKeyUsage
    		expectErr           bool
    	}{
    		{
    			usages:              []capi.KeyUsage{"signing"},
    			expectedKeyUsage:    x509.KeyUsageDigitalSignature,
    			expectedExtKeyUsage: nil,
    			expectErr:           false,
    		},
    		{
    			usages:              []capi.KeyUsage{"client auth"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 05 22:45:34 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/ServiceLifecycle.java

                }
                Integer depth = usages.get(Thread.currentThread());
                if (depth == null) {
                    usages.put(Thread.currentThread(), 1);
                } else {
                    usages.put(Thread.currentThread(), depth + 1);
                }
            } finally {
                lock.unlock();
            }
    
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/util.go

    			usages = append(usages, "client")
    			continue
    		}
    		if curr == x509.ExtKeyUsageServerAuth {
    			usages = append(usages, "serving")
    			continue
    		}
    
    		usages = append(usages, fmt.Sprintf("%d", curr))
    	}
    
    	validServingNames := []string{}
    	for _, ip := range certificate.IPAddresses {
    		validServingNames = append(validServingNames, ip.String())
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 21 07:29:30 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/java/fixtures/tests/javaTestFixtures.sample.conf

        expected-output-file: dependencyInsight.out
        allow-additional-output: true
    },{
        execution-subdirectory: lib
        executable: gradle
        args: usages
        expected-output-file: usages.out
        allow-additional-output: true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 354 bytes
    - Viewed (0)
  8. pkg/test/csrctrl/authority/policies.go

    	// the certificate.
    	TTL time.Duration
    	// Usages are the allowed usages of a certificate.
    	Usages []capi.KeyUsage
    }
    
    func (p PermissiveSigningPolicy) apply(tmpl *x509.Certificate) error {
    	usage, extUsages, err := keyUsagesFromStrings(p.Usages)
    	if err != nil {
    		return err
    	}
    	tmpl.KeyUsage = usage
    	tmpl.ExtKeyUsage = extUsages
    	tmpl.NotAfter = tmpl.NotBefore.Add(p.TTL)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 03 17:06:22 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/ConfigurationRoleSpec.groovy

            ConfigurationRoles.DEPENDENCY_SCOPE             || [UsageDescriber.DECLARABLE_AGAINST]
        }
    
        private void assertDescriptionContains(ConfigurationRole role, List<String> usages) {
            for (String usage : usages) {
                assert role.describeUsage().contains(usage)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. pkg/controller/certificates/authority/policies.go

    // keyUsagesFromStrings will translate a slice of usage strings from the
    // certificates API ("pkg/apis/certificates".KeyUsage) to x509.KeyUsage and
    // x509.ExtKeyUsage types.
    func keyUsagesFromStrings(usages []capi.KeyUsage) (x509.KeyUsage, []x509.ExtKeyUsage, error) {
    	var keyUsage x509.KeyUsage
    	var unrecognized []capi.KeyUsage
    	extKeyUsages := make(map[x509.ExtKeyUsage]struct{})
    	for _, usage := range usages {
    		if val, ok := keyUsageDict[usage]; ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 5.7K bytes
    - Viewed (0)
Back to top