crypto/x509.Certificate.IsCA (field)
7 uses
crypto/x509 (current package)
parser.go#L669: out.IsCA, out.MaxPathLen, err = parseBasicConstraintsExtension(e.Value)
verify.go#L687: if certType == intermediateCertificate && (!c.BasicConstraintsValid || !c.IsCA) {
x509.go#L676: IsCA bool
x509.go#L781: parent.BasicConstraintsValid && !parent.IsCA {
x509.go#L1058: ret[n], err = marshalBasicConstraints(template.IsCA, template.MaxPathLen, template.MaxPathLenZero)
x509.go#L1496: if template.BasicConstraintsValid && !template.IsCA && template.MaxPathLen != -1 && (template.MaxPathLen != 0 || template.MaxPathLenZero) {
x509.go#L1526: if len(subjectKeyId) == 0 && template.IsCA {