Class: Google::Cloud::Security::PrivateCA::V1::X509Parameters

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

An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.

Defined Under Namespace

Classes: CaOptions

Instance Attribute Summary collapse

Instance Attribute Details

#additional_extensions::Array<::Google::Cloud::Security::PrivateCA::V1::X509Extension>

Returns Optional. Describes custom X.509 extensions.

Returns:



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 677

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

  # Describes values that are relevant in a CA certificate.
  # @!attribute [rw] is_ca
  #   @return [::Boolean]
  #     Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this
  #     value is missing, the extension will be omitted from the CA certificate.
  # @!attribute [rw] max_issuer_path_length
  #   @return [::Integer]
  #     Optional. Refers to the path length restriction X.509 extension. For a CA
  #     certificate, this value describes the depth of subordinate CA
  #     certificates that are allowed.
  #     If this value is less than 0, the request will fail.
  #     If this value is missing, the max path length will be omitted from the
  #     CA certificate.
  class CaOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#aia_ocsp_servers::Array<::String>

Returns Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.

Returns:

  • (::Array<::String>)

    Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the "Authority Information Access" extension in the certificate.



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 677

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

  # Describes values that are relevant in a CA certificate.
  # @!attribute [rw] is_ca
  #   @return [::Boolean]
  #     Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this
  #     value is missing, the extension will be omitted from the CA certificate.
  # @!attribute [rw] max_issuer_path_length
  #   @return [::Integer]
  #     Optional. Refers to the path length restriction X.509 extension. For a CA
  #     certificate, this value describes the depth of subordinate CA
  #     certificates that are allowed.
  #     If this value is less than 0, the request will fail.
  #     If this value is missing, the max path length will be omitted from the
  #     CA certificate.
  class CaOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#ca_options::Google::Cloud::Security::PrivateCA::V1::X509Parameters::CaOptions

Returns Optional. Describes options in this X509Parameters that are relevant in a CA certificate.

Returns:



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 677

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

  # Describes values that are relevant in a CA certificate.
  # @!attribute [rw] is_ca
  #   @return [::Boolean]
  #     Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this
  #     value is missing, the extension will be omitted from the CA certificate.
  # @!attribute [rw] max_issuer_path_length
  #   @return [::Integer]
  #     Optional. Refers to the path length restriction X.509 extension. For a CA
  #     certificate, this value describes the depth of subordinate CA
  #     certificates that are allowed.
  #     If this value is less than 0, the request will fail.
  #     If this value is missing, the max path length will be omitted from the
  #     CA certificate.
  class CaOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#key_usage::Google::Cloud::Security::PrivateCA::V1::KeyUsage

Returns Optional. Indicates the intended use for keys that correspond to a certificate.

Returns:



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 677

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

  # Describes values that are relevant in a CA certificate.
  # @!attribute [rw] is_ca
  #   @return [::Boolean]
  #     Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this
  #     value is missing, the extension will be omitted from the CA certificate.
  # @!attribute [rw] max_issuer_path_length
  #   @return [::Integer]
  #     Optional. Refers to the path length restriction X.509 extension. For a CA
  #     certificate, this value describes the depth of subordinate CA
  #     certificates that are allowed.
  #     If this value is less than 0, the request will fail.
  #     If this value is missing, the max path length will be omitted from the
  #     CA certificate.
  class CaOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#policy_ids::Array<::Google::Cloud::Security::PrivateCA::V1::ObjectId>

Returns Optional. Describes the X.509 certificate policy object identifiers, per https://tools.ietf.org/html/rfc5280#section-4.2.1.4.

Returns:



677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 677

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

  # Describes values that are relevant in a CA certificate.
  # @!attribute [rw] is_ca
  #   @return [::Boolean]
  #     Optional. Refers to the "CA" X.509 extension, which is a boolean value. When this
  #     value is missing, the extension will be omitted from the CA certificate.
  # @!attribute [rw] max_issuer_path_length
  #   @return [::Integer]
  #     Optional. Refers to the path length restriction X.509 extension. For a CA
  #     certificate, this value describes the depth of subordinate CA
  #     certificates that are allowed.
  #     If this value is less than 0, the request will fail.
  #     If this value is missing, the max path length will be omitted from the
  #     CA certificate.
  class CaOptions
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end