Reference documentation and code samples for the Google Certificate Authority Service V1 Client class CaOptions.
Describes values that are relevant in a CA certificate.
Generated from protobuf message google.cloud.security.privateca.v1.X509Parameters.CaOptions
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ is_ca |
bool
Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this value is missing, the extension will be omitted from the CA certificate. |
↳ max_issuer_path_length |
int
Optional. Refers to the path length restriction 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 CA certificate. |
getIsCa
Optional. Refers to the "CA" X.509 extension, which is a boolean value.
When this value is missing, the extension will be omitted from the CA certificate.
Returns | |
---|---|
Type | Description |
bool |
hasIsCa
clearIsCa
setIsCa
Optional. Refers to the "CA" X.509 extension, which is a boolean value.
When this value is missing, the extension will be omitted from the CA certificate.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getMaxIssuerPathLength
Optional. Refers to the path length restriction 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 CA certificate.
Returns | |
---|---|
Type | Description |
int |
hasMaxIssuerPathLength
clearMaxIssuerPathLength
setMaxIssuerPathLength
Optional. Refers to the path length restriction 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 CA certificate.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |