Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,091 for Usages (0.13 sec)

  1. cmd/kubeadm/app/apis/bootstraptoken/v1/defaults.go

    func SetDefaults_BootstrapToken(bt *BootstrapToken) {
    	if bt.TTL == nil {
    		bt.TTL = &metav1.Duration{
    			Duration: DefaultTokenDuration,
    		}
    	}
    	if len(bt.Usages) == 0 {
    		bt.Usages = DefaultTokenUsages
    	}
    
    	if len(bt.Groups) == 0 {
    		bt.Groups = DefaultTokenGroups
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 10:34:21 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/bootstraptoken/v1/utils_test.go

    				Usages: []string{"authentication", "signing"},
    			},
    			false,
    		},
    		{
    			"should ignore usages that aren't set to true",
    			"bootstrap-token-abcdef",
    			map[string][]byte{
    				"token-id":                       []byte("abcdef"),
    				"token-secret":                   []byte("abcdef0123456789"),
    				"usage-bootstrap-signing":        []byte("true"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/certificates/v1/types.go

    	//  "ipsec end system", "ipsec tunnel", "ipsec user",
    	//  "timestamping", "ocsp signing", "microsoft sgc", "netscape sgc"
    	// +listType=atomic
    	Usages []KeyUsage `json:"usages,omitempty" protobuf:"bytes,5,opt,name=usages"`
    
    	// username contains the name of the user that created the CertificateSigningRequest.
    	// Populated by the API server on creation and immutable.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/certs/certlist.go

    			Config: certutil.Config{
    				// TODO: etcd 3.2 introduced an undocumented requirement for ClientAuth usage on the
    				// server cert: https://github.com/etcd-io/etcd/issues/9785#issuecomment-396715692
    				// Once the upstream issue is resolved, this should be returned to only allowing
    				// ServerAuth usage.
    				Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth, x509.ExtKeyUsageClientAuth},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  5. pkg/kubelet/certificate/bootstrap/bootstrap.go

    	if err != nil {
    		return nil, fmt.Errorf("unable to generate certificate request: %v", err)
    	}
    
    	usages := []certificatesv1.KeyUsage{
    		certificatesv1.UsageDigitalSignature,
    		certificatesv1.UsageClientAuth,
    	}
    	if _, ok := privateKey.(*rsa.PrivateKey); ok {
    		usages = append(usages, certificatesv1.UsageKeyEncipherment)
    	}
    
    	// The Signer interface contains the Public() method to get the public key.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/configurations/ConfigurationRolesForMigration.java

                "The initial role must not contain deprecated usages."
            );
            Preconditions.checkArgument(
                !eventualRole.isConsumptionDeprecated() && !eventualRole.isResolutionDeprecated() && !eventualRole.isDeclarationAgainstDeprecated(),
                "The eventual role must not contain deprecated usages."
            );
    
            /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jul 12 16:55:27 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  7. pkg/apis/certificates/types.go

    	//
    	// +optional
    	ExpirationSeconds *int32
    
    	// usages specifies a set of usage contexts the key will be
    	// valid for.
    	// See:
    	//	https://tools.ietf.org/html/rfc5280#section-4.2.1.3
    	//	https://tools.ietf.org/html/rfc5280#section-4.2.1.12
    	Usages []KeyUsage
    
    	// Information about the requesting user.
    	// See user.Info interface for details.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 11K bytes
    - Viewed (0)
  8. pkg/controller/certificates/approver/sarapprove.go

    }
    
    func isSelfNodeClientCert(csr *capi.CertificateSigningRequest, x509cr *x509.CertificateRequest) bool {
    	if csr.Spec.Username != x509cr.Subject.CommonName {
    		return false
    	}
    	return isNodeClientCert(csr, x509cr)
    }
    
    func usagesToSet(usages []capi.KeyUsage) sets.String {
    	result := sets.NewString()
    	for _, usage := range usages {
    		result.Insert(string(usage))
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 21 16:03:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/tasks/TaskDependencyInternal.java

         * {@inheritDoc}
         *
         * This method inherited from the internal interface should only be used by external code, such as plugins or build scripts,
         * as it may trigger warnings on usages that are considered "invalid" in the third-party code. If the usages
         * are still valid in the Gradle codebase, they should be changed to {@link TaskDependencyInternal#getDependenciesForInternalUse(Task)}.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/certificates/v1/types_swagger_doc_generated.go

    	"usages":            "usages specifies a set of key usages requested in the issued certificate.\n\nRequests for TLS client certificates typically request: \"digital signature\", \"key encipherment\", \"client auth\".\n\nRequests for TLS serving certificates typically request: \"key...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 10.9K bytes
    - Viewed (0)
Back to top