Google Cloud Certificate Manager V1 Client - Class TrustStore (1.0.2)

Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class TrustStore.

Defines a trust store.

Generated from protobuf message google.cloud.certificatemanager.v1.TrustConfig.TrustStore

Namespace

Google \ Cloud \ CertificateManager \ V1 \ TrustConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ trust_anchors array<TrustAnchor>

List of Trust Anchors to be used while performing validation against a given TrustStore.

↳ intermediate_cas array<IntermediateCA>

Set of intermediate CA certificates used for the path building phase of chain validation. The field is currently not supported if TrustConfig is used for the workload certificate feature.

getTrustAnchors

List of Trust Anchors to be used while performing validation against a given TrustStore.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTrustAnchors

List of Trust Anchors to be used while performing validation against a given TrustStore.

Parameter
Name Description
var array<TrustAnchor>
Returns
Type Description
$this

getIntermediateCas

Set of intermediate CA certificates used for the path building phase of chain validation.

The field is currently not supported if TrustConfig is used for the workload certificate feature.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setIntermediateCas

Set of intermediate CA certificates used for the path building phase of chain validation.

The field is currently not supported if TrustConfig is used for the workload certificate feature.

Parameter
Name Description
var array<IntermediateCA>
Returns
Type Description
$this