Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 86 for notBefore (0.14 sec)

  1. pkg/apis/certificates/types.go

    	// expirationSeconds is the requested duration of validity of the issued
    	// certificate. The certificate signer may issue a certificate with a different
    	// validity duration so a client must check the delta between the notBefore and
    	// and notAfter fields in the issued certificate to determine the actual duration.
    	//
    	// The v1.22+ in-tree implementations of the well-known Kubernetes signers will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 11K bytes
    - Viewed (0)
  2. internal/jwt/parser.go

    				return err
    			}
    		case 'n':
    			if string(key) == "nbf" {
    				if dataType != jsonparser.Number {
    					return errors.New("nbf: Expected number")
    				}
    				c.NotBefore, err = jsonparser.ParseInt(value)
    				return err
    			}
    		case 's':
    			if string(key) == "sub" {
    				if dataType != jsonparser.String {
    					return errors.New("sub: Expected string")
    				}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/options/serving_test.go

    	if err != nil {
    		return nil, nil, err
    	}
    
    	template := x509.Certificate{
    		SerialNumber: big.NewInt(1),
    		Subject: pkix.Name{
    			CommonName: fmt.Sprintf("%s@%d", host, time.Now().Unix()),
    		},
    		NotBefore: time.Unix(0, 0),
    		NotAfter:  time.Now().Add(time.Hour * 24 * 365 * 100),
    
    		KeyUsage:              x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature | x509.KeyUsageCertSign,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 15:52:39 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/certs/renewal/manager.go

    		Config:              certConfig,
    		EncryptionAlgorithm: rm.cfg.EncryptionAlgorithmType(),
    	}
    
    	startTime := kubeadmutil.StartTimeUTC()
    
    	// Backdate certificate to allow small time jumps.
    	cfg.NotBefore = startTime.Add(-kubeadmconstants.CertificateBackdate)
    
    	// Use the validity periods defined in the ClusterConfiguration.
    	// Only use CertificateValidityPeriod as CA renewal is not supported.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/certificates/v1/generated.proto

      // expirationSeconds is the requested duration of validity of the issued
      // certificate. The certificate signer may issue a certificate with a different
      // validity duration so a client must check the delta between the notBefore and
      // and notAfter fields in the issued certificate to determine the actual duration.
      //
      // The v1.22+ in-tree implementations of the well-known Kubernetes signers will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/certificates/v1/generated.proto

      // expirationSeconds is the requested duration of validity of the issued
      // certificate. The certificate signer may issue a certificate with a different
      // validity duration so a client must check the delta between the notBefore and
      // and notAfter fields in the issued certificate to determine the actual duration.
      //
      // The v1.22+ in-tree implementations of the well-known Kubernetes signers will
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. src/crypto/x509/verify_test.go

    	serialNumber, _ := rand.Int(rand.Reader, serialNumberLimit)
    
    	template := &Certificate{
    		SerialNumber: serialNumber,
    		Subject:      pkix.Name{CommonName: cn},
    		NotBefore:    time.Now().Add(-1 * time.Hour),
    		NotAfter:     time.Now().Add(24 * time.Hour),
    
    		KeyUsage:              KeyUsageKeyEncipherment | KeyUsageDigitalSignature | KeyUsageCertSign,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/certificates/v1/types.go

    	// expirationSeconds is the requested duration of validity of the issued
    	// certificate. The certificate signer may issue a certificate with a different
    	// validity duration so a client must check the delta between the notBefore and
    	// and notAfter fields in the issued certificate to determine the actual duration.
    	//
    	// The v1.22+ in-tree implementations of the well-known Kubernetes signers will
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/phases/certs/certlist.go

    	// should be
    	if k.creationTime.IsZero() {
    		k.creationTime = kubeadmutil.StartTimeUTC()
    	}
    
    	// Backdate certificate to allow small time jumps.
    	k.config.NotBefore = k.creationTime.Add(-kubeadmconstants.CertificateBackdate)
    
    	// Use the validity periods defined in the ClusterConfiguration.
    	// If CAName is empty this is a CA cert.
    	if len(k.CAName) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. cmd/test-utils_test.go

    	var err error
    	priv, err = rsa.GenerateKey(crand.Reader, rsaBits)
    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to generate private key: %w", err)
    	}
    
    	notBefore := time.Now()
    	notAfter := notBefore.Add(validFor)
    
    	serialNumberLimit := new(big.Int).Lsh(big.NewInt(1), 128)
    	serialNumber, err := crand.Int(crand.Reader, serialNumberLimit)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top