Interface CertificateConfigOrBuilder (2.56.0)

public interface CertificateConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPublicKey()

public abstract PublicKey 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.

.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PublicKey

The publicKey.

getPublicKeyOrBuilder()

public abstract PublicKeyOrBuilder getPublicKeyOrBuilder()

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.

.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
PublicKeyOrBuilder

getSubjectConfig()

public abstract CertificateConfig.SubjectConfig getSubjectConfig()

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

.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig subject_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateConfig.SubjectConfig

The subjectConfig.

getSubjectConfigOrBuilder()

public abstract CertificateConfig.SubjectConfigOrBuilder getSubjectConfigOrBuilder()

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

.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig subject_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CertificateConfig.SubjectConfigOrBuilder

getSubjectKeyId()

public abstract CertificateConfig.KeyId getSubjectKeyId()

Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.

.google.cloud.security.privateca.v1.CertificateConfig.KeyId subject_key_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateConfig.KeyId

The subjectKeyId.

getSubjectKeyIdOrBuilder()

public abstract CertificateConfig.KeyIdOrBuilder getSubjectKeyIdOrBuilder()

Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.

.google.cloud.security.privateca.v1.CertificateConfig.KeyId subject_key_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CertificateConfig.KeyIdOrBuilder

getX509Config()

public abstract X509Parameters getX509Config()

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

.google.cloud.security.privateca.v1.X509Parameters x509_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
X509Parameters

The x509Config.

getX509ConfigOrBuilder()

public abstract X509ParametersOrBuilder getX509ConfigOrBuilder()

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

.google.cloud.security.privateca.v1.X509Parameters x509_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
X509ParametersOrBuilder

hasPublicKey()

public abstract boolean hasPublicKey()

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.

.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the publicKey field is set.

hasSubjectConfig()

public abstract boolean hasSubjectConfig()

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

.google.cloud.security.privateca.v1.CertificateConfig.SubjectConfig subject_config = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the subjectConfig field is set.

hasSubjectKeyId()

public abstract boolean hasSubjectKeyId()

Optional. When specified this provides a custom SKI to be used in the certificate. This should only be used to maintain a SKI of an existing CA originally created outside CA service, which was not generated using method (1) described in RFC 5280 section 4.2.1.2.

.google.cloud.security.privateca.v1.CertificateConfig.KeyId subject_key_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the subjectKeyId field is set.

hasX509Config()

public abstract boolean hasX509Config()

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

.google.cloud.security.privateca.v1.X509Parameters x509_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the x509Config field is set.