Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 49 for NotBefore (0.3 sec)

  1. src/crypto/x509/x509.go

    	Extensions         []pkix.Extension `asn1:"omitempty,optional,explicit,tag:3"`
    }
    
    type dsaAlgorithmParameters struct {
    	P, Q, G *big.Int
    }
    
    type validity struct {
    	NotBefore, NotAfter time.Time
    }
    
    type publicKeyInfo struct {
    	Raw       asn1.RawContent
    	Algorithm pkix.AlgorithmIdentifier
    	PublicKey asn1.BitString
    }
    
    // RFC 5280,  4.2.1.1
    type authKeyId struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  2. pilot/pkg/xds/sds.go

    	if err != nil {
    		return err
    	}
    	now := time.Now()
    	for _, cert := range certs {
    		// check if the certificate has expired
    		if now.After(cert.NotAfter) || now.Before(cert.NotBefore) {
    			return fmt.Errorf("certificate is expired or not yet valid")
    		}
    	}
    	return nil
    }
    
    func recordInvalidCertificate(name string, err error) {
    	pilotSDSCertificateErrors.Increment()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 23:04:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. src/crypto/x509/name_constraints_test.go

    	var serialBytes [16]byte
    	rand.Read(serialBytes[:])
    
    	template := &Certificate{
    		SerialNumber: new(big.Int).SetBytes(serialBytes[:]),
    		Subject: pkix.Name{
    			CommonName: name,
    		},
    		NotBefore:             time.Unix(1000, 0),
    		NotAfter:              time.Unix(2000, 0),
    		KeyUsage:              KeyUsageCertSign,
    		BasicConstraintsValid: true,
    		IsCA:                  true,
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 22:40:21 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. src/crypto/tls/boring_test.go

    		org = org[:i]
    		parentOrg = name[i+1:]
    	}
    	tmpl := &x509.Certificate{
    		SerialNumber: big.NewInt(1),
    		Subject: pkix.Name{
    			Organization: []string{org},
    		},
    		NotBefore: time.Unix(0, 0),
    		NotAfter:  time.Unix(0, 0),
    
    		KeyUsage:              x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  5. src/crypto/x509/verify.go

    		}
    	}
    
    	now := opts.CurrentTime
    	if now.IsZero() {
    		now = time.Now()
    	}
    	if now.Before(c.NotBefore) {
    		return CertificateInvalidError{
    			Cert:   c,
    			Reason: Expired,
    			Detail: fmt.Sprintf("current time %s is before %s", now.Format(time.RFC3339), c.NotBefore.Format(time.RFC3339)),
    		}
    	} else if now.After(c.NotAfter) {
    		return CertificateInvalidError{
    			Cert:   c,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/constants/constants.go

    	ManifestsSubDirName = "manifests"
    	// TempDirForKubeadm defines temporary directory for kubeadm
    	// should be joined with KubernetesDir.
    	TempDirForKubeadm = "tmp"
    
    	// CertificateBackdate defines the offset applied to notBefore for CA certificates generated by kubeadm
    	CertificateBackdate = time.Minute * 5
    	// CertificateValidityPeriod defines the validity period for all the signed certificates generated by kubeadm
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 03:36:35 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    				check ^= xxh3.HashString(v.String())
    			}
    			tlsInfo.Certs = append(tlsInfo.Certs, madmin.TLSCert{
    				PubKeyAlgo:    c.PublicKeyAlgorithm.String(),
    				SignatureAlgo: c.SignatureAlgorithm.String(),
    				NotBefore:     c.NotBefore,
    				NotAfter:      c.NotAfter,
    				Checksum:      strconv.FormatUint(check, 16),
    			})
    		}
    	}
    	return tlsInfo
    }
    
    // ServerInfoHandler - GET /minio/admin/v3/info
    // ----------
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/windows/types_windows.go

    }
    
    type CertInfo struct {
    	Version              uint32
    	SerialNumber         CryptIntegerBlob
    	SignatureAlgorithm   CryptAlgorithmIdentifier
    	Issuer               CertNameBlob
    	NotBefore            Filetime
    	NotAfter             Filetime
    	Subject              CertNameBlob
    	SubjectPublicKeyInfo CertPublicKeyInfo
    	IssuerUniqueId       CryptBitBlob
    	SubjectUniqueId      CryptBitBlob
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 104.1K bytes
    - Viewed (0)
  9. src/crypto/tls/handshake_client_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	tmpl := &x509.Certificate{
    		SerialNumber: big.NewInt(1),
    		Subject:      pkix.Name{CommonName: "test"},
    		DNSNames:     []string{"example.golang"},
    		NotBefore:    testConfig.Time().Add(-time.Hour),
    		NotAfter:     testConfig.Time().Add(time.Hour),
    	}
    	certDER, err := x509.CreateCertificate(rand.Reader, tmpl, tmpl, k.Public(), k)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__certificates.k8s.io__v1_openapi.json

                "description": "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: Fri Mar 08 04:18:56 UTC 2024
    - 151.7K bytes
    - Viewed (0)
Back to top