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.
↳ 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.
getIsCa
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.
Returns
Type
Description
bool
hasIsCa
clearIsCa
setIsCa
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.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getMaxIssuerPathLength
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.
Returns
Type
Description
int
hasMaxIssuerPathLength
clearMaxIssuerPathLength
setMaxIssuerPathLength
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Certificate Authority Service V1 Client - Class CaOptions (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-security-private-ca/latest/V1.X509Parameters.CaOptions)\n- [2.1.0](/php/docs/reference/cloud-security-private-ca/2.1.0/V1.X509Parameters.CaOptions)\n- [2.0.3](/php/docs/reference/cloud-security-private-ca/2.0.3/V1.X509Parameters.CaOptions)\n- [1.7.3](/php/docs/reference/cloud-security-private-ca/1.7.3/V1.X509Parameters.CaOptions)\n- [1.5.0](/php/docs/reference/cloud-security-private-ca/1.5.0/V1.X509Parameters.CaOptions)\n- [1.4.2](/php/docs/reference/cloud-security-private-ca/1.4.2/V1.X509Parameters.CaOptions)\n- [1.3.1](/php/docs/reference/cloud-security-private-ca/1.3.1/V1.X509Parameters.CaOptions)\n- [1.2.2](/php/docs/reference/cloud-security-private-ca/1.2.2/V1.X509Parameters.CaOptions)\n- [1.1.0](/php/docs/reference/cloud-security-private-ca/1.1.0/V1.X509Parameters.CaOptions)\n- [1.0.3](/php/docs/reference/cloud-security-private-ca/1.0.3/V1.X509Parameters.CaOptions) \nReference documentation and code samples for the Google Certificate Authority Service V1 Client class CaOptions.\n\nDescribes the X.509 basic constraints extension, per [RFC 5280\nsection 4.2.1.9](https://tools.ietf.org/html/rfc5280#section-4.2.1.9)\n\nGenerated from protobuf message `google.cloud.security.privateca.v1.X509Parameters.CaOptions`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Security \\\\ PrivateCA \\\\ V1 \\\\ X509Parameters\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getIsCa\n\nOptional. Refers to the \"CA\" boolean field in the X.509 extension.\n\nWhen this value is missing, the basic constraints extension will be\nomitted from the certificate.\n\n### hasIsCa\n\n### clearIsCa\n\n### setIsCa\n\nOptional. Refers to the \"CA\" boolean field in the X.509 extension.\n\nWhen this value is missing, the basic constraints extension will be\nomitted from the certificate.\n\n### getMaxIssuerPathLength\n\nOptional. Refers to the path length constraint field in the X.509\nextension. For a CA certificate, this value describes the depth of\nsubordinate CA certificates that are allowed. If this value is less than\n0, the request will fail. If this value is missing, the max path length\nwill be omitted from the certificate.\n\n### hasMaxIssuerPathLength\n\n### clearMaxIssuerPathLength\n\n### setMaxIssuerPathLength\n\nOptional. Refers to the path length constraint field in the X.509\nextension. For a CA certificate, this value describes the depth of\nsubordinate CA certificates that are allowed. If this value is less than\n0, the request will fail. If this value is missing, the max path length\nwill be omitted from the certificate."]]