Interface CertificateConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CertificateConfig,CertificateConfig.Builder
@Generated
public interface CertificateConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.Optional.Required.Required.Optional.Optional.Required.Required.booleanOptional.booleanRequired.booleanOptional.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasSubjectConfig
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:
- Whether the subjectConfig field is set.
-
getSubjectConfig
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:
- The subjectConfig.
-
getSubjectConfigOrBuilder
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]; -
hasX509Config
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:
- Whether the x509Config field is set.
-
getX509Config
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:
- The x509Config.
-
getX509ConfigOrBuilder
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]; -
hasPublicKey
boolean hasPublicKey()Optional. The public key that corresponds to this config. This is, for example, used when issuing [Certificates][google.cloud.security.privateca.v1.Certificate], but not when creating a self-signed [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] or [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] CSR.
.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the publicKey field is set.
-
getPublicKey
PublicKey getPublicKey()Optional. The public key that corresponds to this config. This is, for example, used when issuing [Certificates][google.cloud.security.privateca.v1.Certificate], but not when creating a self-signed [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] or [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] CSR.
.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The publicKey.
-
getPublicKeyOrBuilder
PublicKeyOrBuilder getPublicKeyOrBuilder()Optional. The public key that corresponds to this config. This is, for example, used when issuing [Certificates][google.cloud.security.privateca.v1.Certificate], but not when creating a self-signed [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] or [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] CSR.
.google.cloud.security.privateca.v1.PublicKey public_key = 3 [(.google.api.field_behavior) = OPTIONAL]; -
hasSubjectKeyId
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:
- Whether the subjectKeyId field is set.
-
getSubjectKeyId
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:
- The subjectKeyId.
-
getSubjectKeyIdOrBuilder
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];
-