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

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

A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.

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

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ subject_config Google\Cloud\Security\PrivateCA\V1beta1\CertificateConfig\SubjectConfig

Required. Specifies some of the values in a certificate that are related to the subject.

↳ reusable_config Google\Cloud\Security\PrivateCA\V1beta1\ReusableConfigWrapper

Required. Describes how some of the technical fields in a certificate should be populated.

↳ public_key Google\Cloud\Security\PrivateCA\V1beta1\PublicKey

Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.

getSubjectConfig

Required. Specifies some of the values in a certificate that are related to the subject.

Returns
TypeDescription
Google\Cloud\Security\PrivateCA\V1beta1\CertificateConfig\SubjectConfig|null

hasSubjectConfig

clearSubjectConfig

setSubjectConfig

Required. Specifies some of the values in a certificate that are related to the subject.

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

getReusableConfig

Required. Describes how some of the technical fields in a certificate should be populated.

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

hasReusableConfig

clearReusableConfig

setReusableConfig

Required. Describes how some of the technical fields in a certificate should be populated.

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

getPublicKey

Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.

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

hasPublicKey

clearPublicKey

setPublicKey

Optional. The public key that corresponds to this config. This is, for example, used when issuing Certificates, but not when creating a self-signed CertificateAuthority or CertificateAuthority CSR.

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