Class: Google::Cloud::Security::PrivateCA::V1::CertificateConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/security/privateca/v1/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::V1::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:



1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1012

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::V1::Subject]
  #     Required. Contains distinguished name fields such as the common name,
  #     location and organization.
  # @!attribute [rw] subject_alt_name
  #   @return [::Google::Cloud::Security::PrivateCA::V1::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::V1::CertificateConfig::SubjectConfig

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

Returns:



1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1012

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::V1::Subject]
  #     Required. Contains distinguished name fields such as the common name,
  #     location and organization.
  # @!attribute [rw] subject_alt_name
  #   @return [::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames]
  #     Optional. The subject alternative name fields.
  class SubjectConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#x509_config::Google::Cloud::Security::PrivateCA::V1::X509Parameters

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

Returns:



1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1012

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::V1::Subject]
  #     Required. Contains distinguished name fields such as the common name,
  #     location and organization.
  # @!attribute [rw] subject_alt_name
  #   @return [::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames]
  #     Optional. The subject alternative name fields.
  class SubjectConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end