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

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
Name Description
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 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
Type Description
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
Name Description
var string
Returns
Type Description
$this

getPemIssuerChain

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

Returns
Type Description
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
Name Description
var SubordinateConfig\SubordinateConfigChain
Returns
Type Description
$this

getSubordinateConfig

Returns
Type Description
string