setBasicConstraints

fun setBasicConstraints(ca: Boolean, pathLenConstraint: Int?): X509Cert.Builder

Sets the basic constraints of the certificate

Return

the builder.

Parameters

ca

the CA flag.

pathLenConstraint

the path length constraint value.