Google Certificate Authority Service V1 Client - Class SubordinateConfig (1.5.0)

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

Describes a subordinate CA's issuers. This is either a resource name to a known issuing CertificateAuthority, or a PEM issuer certificate chain.

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

Namespace

Google \ Cloud \ Security \ PrivateCA \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ certificate_authority string

Required. This can refer to a CertificateAuthority that was used to create a subordinate CertificateAuthority. This field is used for information and usability purposes only. The resource name is in the format projects/*/locations/*/caPools/*/certificateAuthorities/*.

↳ pem_issuer_chain Google\Cloud\Security\PrivateCA\V1\SubordinateConfig\SubordinateConfigChain

Required. Contains the PEM certificate chain for the issuers of this CertificateAuthority, but not pem certificate for this CA itself.

getCertificateAuthority

Required. This can refer to a CertificateAuthority that was used to create a subordinate CertificateAuthority.

This field is used for information and usability purposes only. The resource name is in the format projects/*/locations/*/caPools/*/certificateAuthorities/*.

Returns
TypeDescription
string

hasCertificateAuthority

setCertificateAuthority

Required. This can refer to a CertificateAuthority that was used to create a subordinate CertificateAuthority.

This field is used for information and usability purposes only. The resource name is in the format projects/*/locations/*/caPools/*/certificateAuthorities/*.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPemIssuerChain

Required. Contains the PEM certificate chain for the issuers of this CertificateAuthority, but not pem certificate for this CA itself.

Returns
TypeDescription
Google\Cloud\Security\PrivateCA\V1\SubordinateConfig\SubordinateConfigChain|null

hasPemIssuerChain

setPemIssuerChain

Required. Contains the PEM certificate chain for the issuers of this CertificateAuthority, but not pem certificate for this CA itself.

Parameter
NameDescription
var Google\Cloud\Security\PrivateCA\V1\SubordinateConfig\SubordinateConfigChain
Returns
TypeDescription
$this

getSubordinateConfig

Returns
TypeDescription
string