Google Certificate Authority Service V1 Client - Class CaOptions (1.1.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var bool
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
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
NameDescription
var int
Returns
TypeDescription
$this