GetAuthorityConfigX509ConfigCaOption

data class GetAuthorityConfigX509ConfigCaOption(val isCa: Boolean, val maxIssuerPathLength: Int, val nonCa: Boolean, val zeroMaxIssuerPathLength: Boolean)

Constructors

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

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

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.