Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for NotBefore (0.17 sec)

  1. pilot/pkg/bootstrap/certcontroller.go

    			return fmt.Errorf("x509 cert - ParseCertificates() error: %v", err)
    		}
    		for _, c := range x509Cert {
    			log.Infof("x509 cert - Issuer: %q, Subject: %q, SN: %x, NotBefore: %q, NotAfter: %q",
    				c.Issuer, c.Subject, c.SerialNumber,
    				c.NotBefore.Format(time.RFC3339), c.NotAfter.Format(time.RFC3339))
    		}
    	}
    
    	log.Info("Istiod certificates are reloaded")
    	s.certMu.Lock()
    	s.istiodCert = &keyPair
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

                        type = COMMON_NAME,
                        value = "cash.app",
                      ),
                    ),
                  ),
                validity =
                  Validity(
                    notBefore = 0L,
                    notAfter = 1000L,
                  ),
                subject =
                  listOf(
                    listOf(
                      AttributeTypeAndValue(
                        type = COMMON_NAME,
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 43.9K bytes
    - Viewed (0)
  3. pkg/test/csrctrl/authority/policies.go

    	usage, extUsages, err := keyUsagesFromStrings(p.Usages)
    	if err != nil {
    		return err
    	}
    	tmpl.KeyUsage = usage
    	tmpl.ExtKeyUsage = extUsages
    	tmpl.NotAfter = tmpl.NotBefore.Add(p.TTL)
    
    	tmpl.ExtraExtensions = nil
    	tmpl.Extensions = nil
    	tmpl.BasicConstraintsValid = true
    	tmpl.IsCA = false
    
    	return nil
    }
    
    var keyUsageDict = map[capi.KeyUsage]x509.KeyUsage{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 03 17:06:22 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  4. pkg/registry/certificates/certificates/storage/metrics.go

    			certificate := certs[0]
    			wantDuration := csr.ExpirationSecondsToDuration(*oldCSR.Spec.ExpirationSeconds)
    			actualDuration := certificate.NotAfter.Sub(certificate.NotBefore)
    			if isDurationHonored(wantDuration, actualDuration) {
    				honored.WithLabelValues(signer).Inc()
    			}
    		}, nil
    	}
    }
    
    func isDurationHonored(want, got time.Duration) bool {
    	delta := want - got
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 21:41:43 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/certificates/v1beta1/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
    - 6.7K bytes
    - Viewed (0)
  6. cmd/kube-apiserver/app/testing/testserver.go

    		tenThousandHoursLater := time.Now().Add(10_000 * time.Hour)
    		certTmpl := x509.Certificate{
    			Subject: pkix.Name{
    				CommonName: "misty",
    			},
    			SerialNumber: serial,
    			NotBefore:    proxySigningCert.NotBefore,
    			NotAfter:     tenThousandHoursLater,
    			KeyUsage:     x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature,
    			ExtKeyUsage: []x509.ExtKeyUsage{
    				x509.ExtKeyUsageClientAuth,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  7. src/crypto/x509/x509_test.go

    						Type:  []int{2, 5, 4, 42},
    						Value: "Gopher",
    					},
    					// This should override the Country, above.
    					{
    						Type:  []int{2, 5, 4, 6},
    						Value: "NL",
    					},
    				},
    			},
    			NotBefore: time.Unix(1000, 0),
    			NotAfter:  time.Unix(100000, 0),
    
    			SignatureAlgorithm: test.sigAlgo,
    
    			SubjectKeyId: []byte{1, 2, 3, 4},
    			KeyUsage:     KeyUsageCertSign,
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  8. security/tools/generate_cert/main.go

    		}
    	case citadelMode:
    		signerCert, signerPriv = signCertFromCitadel()
    	default:
    		log.Fatalf("Unsupported mode %v", *mode)
    	}
    
    	opts := util.CertOptions{
    		Host:         *host,
    		NotBefore:    getNotBefore(),
    		TTL:          *validFor,
    		SignerCert:   signerCert,
    		SignerPriv:   signerPriv,
    		Org:          *org,
    		IsCA:         *isCA,
    		IsSelfSigned: *mode == selfSignedMode,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 28 16:21:30 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. security/pkg/pki/ca/ca_test.go

    	}
    	// Root cert and siging cert are the same for self-signed CA.
    	if !rootCert.Equal(signingCert) {
    		t.Error("CA root cert does not match signing cert")
    	}
    
    	if ttl := rootCert.NotAfter.Sub(rootCert.NotBefore); ttl != caCertTTL {
    		t.Errorf("Unexpected CA certificate TTL (expecting %v, actual %v)", caCertTTL, ttl)
    	}
    
    	if certOrg := rootCert.Issuer.Organization[0]; certOrg != org {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 08:51:27 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/certificates/v1beta1/types_swagger_doc_generated.go

    	"expirationSeconds": "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.\n\nThe v1.22+ in-tree implementations of the well-known Kubernetes signers will honor this field as long as the requested duration is not greater than the maximum...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top