crypto/x509.Certificate.NotAfter (field)
8 uses
crypto/x509 (current package)
parser.go#L885: cert.NotBefore, cert.NotAfter, err = parseValidity(validity)
verify.go#L580: } else if now.After(c.NotAfter) {
verify.go#L584: Detail: fmt.Sprintf("current time %s is after %s", now.Format(time.RFC3339), c.NotAfter.Format(time.RFC3339)),
x509.go#L694: NotBefore, NotAfter time.Time // Validity bounds.
x509.go#L1620: Validity: validity{template.NotBefore.UTC(), template.NotAfter.UTC()},
crypto/tls
handshake_client.go#L328: if c.config.time().After(session.peerCertificates[0].NotAfter) {
handshake_server.go#L474: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
handshake_server_tls13.go#L338: if sessionHasClientCerts && c.config.time().After(sessionState.peerCertificates[0].NotAfter) {
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |