- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for NotBefore (0.2 sec)
-
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) -
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) -
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) -
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) -
pkg/registry/certificates/certificates/storage/metrics_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 14:34:53 UTC 2024 - 13.7K bytes - Viewed (0) -
pkg/serviceaccount/claims.go
now := now() sc := &jwt.Claims{ Subject: apiserverserviceaccount.MakeUsername(sa.Namespace, sa.Name), Audience: jwt.Audience(audience), IssuedAt: jwt.NewNumericDate(now), NotBefore: jwt.NewNumericDate(now), Expiry: jwt.NewNumericDate(now.Add(time.Duration(expirationSeconds) * time.Second)), } if utilfeature.DefaultFeatureGate.Enabled(features.ServiceAccountTokenJTI) { sc.ID = newUUID() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 30 21:15:10 UTC 2023 - 11.3K bytes - Viewed (0) -
src/crypto/x509/parser.go
} return t, nil } func parseValidity(der cryptobyte.String) (time.Time, time.Time, error) { notBefore, err := parseTime(&der) if err != nil { return time.Time{}, time.Time{}, err } notAfter, err := parseTime(&der) if err != nil { return time.Time{}, time.Time{}, err } return notBefore, notAfter, nil } func parseExtension(der cryptobyte.String) (pkix.Extension, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 38.5K bytes - Viewed (0) -
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) -
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) -
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)