public static final class CaCertificatesTypes.CreateSpec.Builder
extends java.lang.Object
CaCertificatesTypes.CreateSpec
.Constructor and Description |
---|
Builder(java.lang.String name)
Constructor with parameters for the required properties of
CaCertificatesTypes.CreateSpec . |
Modifier and Type | Method and Description |
---|---|
CaCertificatesTypes.CreateSpec |
build() |
CaCertificatesTypes.CreateSpec.Builder |
setCertChain(X509CertChain certChain)
The CA certificate chain.
|
public Builder(java.lang.String name)
CaCertificatesTypes.CreateSpec
.public CaCertificatesTypes.CreateSpec.Builder setCertChain(X509CertChain certChain)
Certificates may either be added one at a time,
or as a chain. Adding the certificates as a chain allows the group to be managed
as a whole. For example, an entire chain can be deleted in one com.vmware.vcenter.trusted_infrastructure.trust_authority_clusters.attestation.tpm2.CaCertificates#delete
operation.
When certificates are added one at a time, the order must be root first, followed by any intermediates. The intermediates certificates must also be ordered in the direction from root to leaf.
Similarly, when added as a chain the list must be ordered in the direction from root to leaf.
. This property was added in vSphere API 7.0.0.0. Ifnull
creation will fail.certChain
- New value for the property.public CaCertificatesTypes.CreateSpec build()