crypto/x509.Certificate.NotBefore (field)
6 uses
crypto/x509 (current package)
parser.go#L973: cert.NotBefore, cert.NotAfter, err = parseValidity(validity)
verify.go#L459: if now.Before(c.NotBefore) {
verify.go#L463: Detail: fmt.Sprintf("current time %s is before %s", now.Format(time.RFC3339), c.NotBefore.Format(time.RFC3339)),
x509.go#L721: NotBefore, NotAfter time.Time // Validity bounds.
x509.go#L1788: Validity: validity{template.NotBefore.UTC(), template.NotAfter.UTC()},
crypto/tls
common.go#L1873: return opts.CurrentTime.Before(cert.NotBefore) || opts.CurrentTime.After(cert.NotAfter)
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |