crypto/x509.Certificate.IsCA (field)
7 uses
crypto/x509 (current package)
verify.go#L717: if certType == intermediateCertificate && (!c.BasicConstraintsValid || !c.IsCA) {
x509.go#L677: IsCA bool
x509.go#L770: parent.BasicConstraintsValid && !parent.IsCA {
x509.go#L1346: out.IsCA, out.MaxPathLen, err = parseBasicConstraintsExtension(e.Value)
x509.go#L1712: ret[n], err = marshalBasicConstraints(template.IsCA, template.MaxPathLen, template.MaxPathLenZero)
x509.go#L2150: if template.BasicConstraintsValid && !template.IsCA && template.MaxPathLen != -1 && (template.MaxPathLen != 0 || template.MaxPathLenZero) {
x509.go#L2180: if len(subjectKeyId) == 0 && template.IsCA {
 |
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. |