crypto/x509.Certificate.MaxPathLen (field)
9 uses
crypto/x509 (current package)
parser.go#L685: out.IsCA, out.MaxPathLen, err = parseBasicConstraintsExtension(e.Value)
parser.go#L690: out.MaxPathLenZero = out.MaxPathLen == 0
verify.go#L500: if c.BasicConstraintsValid && c.MaxPathLen >= 0 {
verify.go#L502: if numIntermediates > c.MaxPathLen {
x509.go#L766: MaxPathLen int
x509.go#L1222: ret[n], err = marshalBasicConstraints(template.IsCA, template.MaxPathLen, template.MaxPathLenZero)
x509.go#L1711: if template.BasicConstraintsValid && template.MaxPathLen < -1 {
x509.go#L1715: if template.BasicConstraintsValid && !template.IsCA && template.MaxPathLen != -1 && (template.MaxPathLen != 0 || template.MaxPathLenZero) {