Google Certificate Authority Service V1beta1 Client - Class CaOptions (1.7.3)

Reference documentation and code samples for the Google Certificate Authority Service V1beta1 Client class CaOptions.

Describes values that are relevant in a CA certificate.

Generated from protobuf message google.cloud.security.privateca.v1beta1.ReusableConfigValues.CaOptions

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1beta1 \ ReusableConfigValues

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ is_ca Google\Protobuf\BoolValue

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 Google\Protobuf\Int32Value

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
Google\Protobuf\BoolValue|null

hasIsCa

clearIsCa

getIsCaValue

Returns the unboxed value from 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|null

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 Google\Protobuf\BoolValue
Returns
Type Description
$this

setIsCaValue

Sets the field by wrapping a primitive type in a Google\Protobuf\BoolValue object.

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|null
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
Google\Protobuf\Int32Value|null

hasMaxIssuerPathLength

clearMaxIssuerPathLength

getMaxIssuerPathLengthValue

Returns the unboxed value from 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|null

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 Google\Protobuf\Int32Value
Returns
Type Description
$this

setMaxIssuerPathLengthValue

Sets the field by wrapping a primitive type in a Google\Protobuf\Int32Value object.

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|null
Returns
Type Description
$this