AuthorityConfigX509ConfigCaOptions

data class AuthorityConfigX509ConfigCaOptions(val isCa: Boolean, val maxIssuerPathLength: Int? = null, val nonCa: Boolean? = null, val zeroMaxIssuerPathLength: Boolean? = null)

Constructors

Link copied to clipboard
constructor(isCa: Boolean, maxIssuerPathLength: Int? = null, nonCa: Boolean? = null, zeroMaxIssuerPathLength: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

When true, the "CA" in Basic Constraints extension will be set to true.

Link copied to clipboard

Refers to the "path length constraint" in Basic Constraints extension. For a CA certificate, this value describes the depth of subordinate CA certificates that are allowed. If this value is less than 0, the request will fail. Setting the value to 0 requires setting zero_max_issuer_path_length = true.

Link copied to clipboard
val nonCa: Boolean? = null

When true, the "CA" in Basic Constraints extension will be set to false. If both is_ca and non_ca are unset, the extension will be omitted from the CA certificate.

Link copied to clipboard

When true, the "path length constraint" in Basic Constraints extension will be set to 0. If both max_issuer_path_length and zero_max_issuer_path_length are unset, the max path length will be omitted from the CA certificate.