Google Certificate Authority Service V1 Client - Class CertificateExtensionConstraints (1.2.2)

Reference documentation and code samples for the Google Certificate Authority Service V1 Client class CertificateExtensionConstraints.

Describes a set of X.509 extensions that may be part of some certificate issuance controls.

Generated from protobuf message google.cloud.security.privateca.v1.CertificateExtensionConstraints

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ known_extensions array

Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.

↳ additional_extensions array<Google\Cloud\Security\PrivateCA\V1\ObjectId>

Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.

getKnownExtensions

Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setKnownExtensions

Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.

Parameter
NameDescription
var int[]
Returns
TypeDescription
$this

getAdditionalExtensions

Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAdditionalExtensions

Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.

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