crypto/x509.Certificate.MaxPathLen (field)
8 uses
crypto/x509 (current package)
parser.go#L669: out.IsCA, out.MaxPathLen, err = parseBasicConstraintsExtension(e.Value)
parser.go#L674: out.MaxPathLenZero = out.MaxPathLen == 0
verify.go#L691: if c.BasicConstraintsValid && c.MaxPathLen >= 0 {
verify.go#L693: if numIntermediates > c.MaxPathLen {
x509.go#L690: MaxPathLen int
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) {