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

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
NameDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
var Google\Protobuf\BoolValue
Returns
TypeDescription
$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
NameDescription
var bool|null
Returns
TypeDescription
$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
TypeDescription
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
TypeDescription
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
NameDescription
var Google\Protobuf\Int32Value
Returns
TypeDescription
$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
NameDescription
var int|null
Returns
TypeDescription
$this