# Class CaOptions (1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.0 1.14.3 1.13.1 1.12.2 1.11.0 1.10.3 1.9.0 1.8.1 1.7.1 1.6.1 1.5.0 1.4.3 1.3.2 1.2.4 1.1.0 1.0.6 0.4.0 0.3.0 0.1.1

    CaOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Describes the X.509 basic constraints extension, per `RFC 5280
section
4.2.1.9 <https://tools.ietf.org/html/rfc5280#section-4.2.1.9>`__

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `is_ca` | `bool` Optional. Refers to the "CA" boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate. This field is a member of `oneof`_ `_is_ca`. |
| `max_issuer_path_length` | `int` Optional. Refers to the path length constraint field in the X.509 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. If this value is missing, the max path length will be omitted from the certificate. This field is a member of `oneof`_ `_max_issuer_path_length`. |