Class: Google::Cloud::Security::PrivateCA::V1beta1::CertificateConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/security/privateca/v1beta1/resources.rb

Overview

A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.

Defined Under Namespace

Classes: SubjectConfig

Instance Attribute Summary collapse

Instance Attribute Details

#public_key::Google::Cloud::Security::PrivateCA::V1beta1::PublicKey

Returns 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.

Returns:



668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
# File 'proto_docs/google/cloud/security/privateca/v1beta1/resources.rb', line 668

class CertificateConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # These values are used to create the distinguished name and subject
  # alternative name fields in an X.509 certificate.
  # @!attribute [rw] subject
  #   @return [::Google::Cloud::Security::PrivateCA::V1beta1::Subject]
  #     Required. Contains distinguished name fields such as the location and organization.
  # @!attribute [rw] common_name
  #   @return [::String]
  #     Optional. The "common name" of the distinguished name.
  # @!attribute [rw] subject_alt_name
  #   @return [::Google::Cloud::Security::PrivateCA::V1beta1::SubjectAltNames]
  #     Optional. The subject alternative name fields.
  class SubjectConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#reusable_config::Google::Cloud::Security::PrivateCA::V1beta1::ReusableConfigWrapper

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

Returns:



668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
# File 'proto_docs/google/cloud/security/privateca/v1beta1/resources.rb', line 668

class CertificateConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # These values are used to create the distinguished name and subject
  # alternative name fields in an X.509 certificate.
  # @!attribute [rw] subject
  #   @return [::Google::Cloud::Security::PrivateCA::V1beta1::Subject]
  #     Required. Contains distinguished name fields such as the location and organization.
  # @!attribute [rw] common_name
  #   @return [::String]
  #     Optional. The "common name" of the distinguished name.
  # @!attribute [rw] subject_alt_name
  #   @return [::Google::Cloud::Security::PrivateCA::V1beta1::SubjectAltNames]
  #     Optional. The subject alternative name fields.
  class SubjectConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#subject_config::Google::Cloud::Security::PrivateCA::V1beta1::CertificateConfig::SubjectConfig

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

Returns:



668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
# File 'proto_docs/google/cloud/security/privateca/v1beta1/resources.rb', line 668

class CertificateConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # These values are used to create the distinguished name and subject
  # alternative name fields in an X.509 certificate.
  # @!attribute [rw] subject
  #   @return [::Google::Cloud::Security::PrivateCA::V1beta1::Subject]
  #     Required. Contains distinguished name fields such as the location and organization.
  # @!attribute [rw] common_name
  #   @return [::String]
  #     Optional. The "common name" of the distinguished name.
  # @!attribute [rw] subject_alt_name
  #   @return [::Google::Cloud::Security::PrivateCA::V1beta1::SubjectAltNames]
  #     Optional. The subject alternative name fields.
  class SubjectConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end