Google Certificate Authority Service V1beta1 Client - Class ReusableConfigValues (1.5.0)

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

A ReusableConfigValues is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.

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

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ key_usage Google\Cloud\Security\PrivateCA\V1beta1\KeyUsage

Optional. Indicates the intended use for keys that correspond to a certificate.

↳ ca_options Google\Cloud\Security\PrivateCA\V1beta1\ReusableConfigValues\CaOptions

Optional. Describes options in this ReusableConfigValues that are relevant in a CA certificate.

↳ policy_ids array<Google\Cloud\Security\PrivateCA\V1beta1\ObjectId>

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

↳ aia_ocsp_servers array

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

↳ additional_extensions array<Google\Cloud\Security\PrivateCA\V1beta1\X509Extension>

Optional. Describes custom X.509 extensions.

getKeyUsage

Optional. Indicates the intended use for keys that correspond to a certificate.

Returns
TypeDescription
Google\Cloud\Security\PrivateCA\V1beta1\KeyUsage|null

hasKeyUsage

clearKeyUsage

setKeyUsage

Optional. Indicates the intended use for keys that correspond to a certificate.

Parameter
NameDescription
var Google\Cloud\Security\PrivateCA\V1beta1\KeyUsage
Returns
TypeDescription
$this

getCaOptions

Optional. Describes options in this ReusableConfigValues that are relevant in a CA certificate.

Returns
TypeDescription
Google\Cloud\Security\PrivateCA\V1beta1\ReusableConfigValues\CaOptions|null

hasCaOptions

clearCaOptions

setCaOptions

Optional. Describes options in this ReusableConfigValues that are relevant in a CA certificate.

Parameter
NameDescription
var Google\Cloud\Security\PrivateCA\V1beta1\ReusableConfigValues\CaOptions
Returns
TypeDescription
$this

getPolicyIds

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPolicyIds

Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

Parameter
NameDescription
var array<Google\Cloud\Security\PrivateCA\V1beta1\ObjectId>
Returns
TypeDescription
$this

getAiaOcspServers

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAiaOcspServers

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getAdditionalExtensions

Optional. Describes custom X.509 extensions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAdditionalExtensions

Optional. Describes custom X.509 extensions.

Parameter
NameDescription
var array<Google\Cloud\Security\PrivateCA\V1beta1\X509Extension>
Returns
TypeDescription
$this