Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 49 for NotBefore (0.16 sec)

  1. cmd/kubeadm/app/phases/certs/certlist_test.go

    				ClusterConfiguration: kubeadmapi.ClusterConfiguration{
    					EncryptionAlgorithm: kubeadmapi.EncryptionAlgorithmECDSAP256,
    				},
    			},
    			expectedConfig: &pkiutil.CertConfig{
    				Config: certutil.Config{
    					NotBefore: now.Add(-backdate),
    				},
    				EncryptionAlgorithm: kubeadmapi.EncryptionAlgorithmECDSAP256,
    			},
    		},
    		{
    			name: "cert validity is set",
    			cert: &KubeadmCert{
    				CAName:       "some-ca",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

          }
        }
    
      /**
       * ```
       * Validity ::= SEQUENCE {
       *   notBefore      Time,
       *   notAfter       Time
       * }
       * ```
       */
      private val validity: BasicDerAdapter<Validity> =
        Adapters.sequence(
          "Validity",
          time,
          time,
          decompose = {
            listOf(
              it.notBefore,
              it.notAfter,
            )
          },
          construct = {
            Validity(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

      val type: String,
      val value: Any?,
    )
    
    internal data class Validity(
      val notBefore: Long,
      val notAfter: Long,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + notBefore.toInt()
        result = 31 * result + notAfter.toInt()
        return result
      }
    }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. staging/src/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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. security/pkg/pki/util/keycertbundle.go

    	}
    
    	opts := &CertOptions{
    		Host:      ids[0],
    		Org:       b.cert.Issuer.Organization[0],
    		IsCA:      b.cert.IsCA,
    		TTL:       b.cert.NotAfter.Sub(b.cert.NotBefore),
    		IsDualUse: ids[0] == b.cert.Subject.CommonName,
    	}
    
    	switch (*b.privKey).(type) {
    	case *rsa.PrivateKey:
    		size, err := GetRSAKeySize(*b.privKey)
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jan 21 06:07:50 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top