crypto/x509.CertificateInvalidError.Detail (field)
7 uses
crypto/x509 (current package)
verify.go#L75: Detail string
verify.go#L83: return "x509: certificate has expired or is not yet valid: " + e.Detail
verify.go#L85: return "x509: a root or intermediate certificate is not authorized to sign for this name: " + e.Detail
verify.go#L87: return "x509: a root or intermediate certificate is not authorized for an extended key usage: " + e.Detail
verify.go#L97: return "x509: issuer has name constraints but leaf contains unknown or unconstrained name: " + e.Detail
verify.go#L599: Detail: fmt.Sprintf("current time %s is before %s", now.Format(time.RFC3339), c.NotBefore.Format(time.RFC3339)),
verify.go#L605: Detail: fmt.Sprintf("current time %s is after %s", now.Format(time.RFC3339), c.NotAfter.Format(time.RFC3339)),
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |