Class: Google::Cloud::Security::PrivateCA::V1::CertificateExtensionConstraints

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

Describes a set of X.509 extensions that may be part of some certificate issuance controls.

Defined Under Namespace

Modules: KnownCertificateExtension

Instance Attribute Summary collapse

Instance Attribute Details

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

Returns Optional. A set of ObjectIds identifying custom X.509 extensions. Will be combined with known_extensions to determine the full set of X.509 extensions.

Returns:



1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1494

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

  # Describes well-known X.509 extensions that can appear in a
  # {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate}, not
  # including the
  # {::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames SubjectAltNames}
  # extension.
  module KnownCertificateExtension
    # Not specified.
    KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED = 0

    # Refers to a certificate's Key Usage extension, as described in [RFC 5280
    # section 4.2.1.3](https://tools.ietf.org/html/rfc5280#section-4.2.1.3).
    # This corresponds to the
    # {::Google::Cloud::Security::PrivateCA::V1::KeyUsage#base_key_usage KeyUsage.base_key_usage}
    # field.
    BASE_KEY_USAGE = 1

    # Refers to a certificate's Extended Key Usage extension, as described in
    # [RFC 5280
    # section 4.2.1.12](https://tools.ietf.org/html/rfc5280#section-4.2.1.12).
    # This corresponds to the
    # {::Google::Cloud::Security::PrivateCA::V1::KeyUsage#extended_key_usage KeyUsage.extended_key_usage}
    # message.
    EXTENDED_KEY_USAGE = 2

    # Refers to a certificate's Basic Constraints extension, as described in
    # [RFC 5280
    # section 4.2.1.9](https://tools.ietf.org/html/rfc5280#section-4.2.1.9).
    # This corresponds to the
    # {::Google::Cloud::Security::PrivateCA::V1::X509Parameters#ca_options X509Parameters.ca_options}
    # field.
    CA_OPTIONS = 3

    # Refers to a certificate's Policy object identifiers, as described in
    # [RFC 5280
    # section 4.2.1.4](https://tools.ietf.org/html/rfc5280#section-4.2.1.4).
    # This corresponds to the
    # {::Google::Cloud::Security::PrivateCA::V1::X509Parameters#policy_ids X509Parameters.policy_ids}
    # field.
    POLICY_IDS = 4

    # Refers to OCSP servers in a certificate's Authority Information Access
    # extension, as described in
    # [RFC 5280
    # section 4.2.2.1](https://tools.ietf.org/html/rfc5280#section-4.2.2.1),
    # This corresponds to the
    # {::Google::Cloud::Security::PrivateCA::V1::X509Parameters#aia_ocsp_servers X509Parameters.aia_ocsp_servers}
    # field.
    AIA_OCSP_SERVERS = 5

    # Refers to Name Constraints extension as described in
    # [RFC 5280
    # section 4.2.1.10](https://tools.ietf.org/html/rfc5280#section-4.2.1.10)
    NAME_CONSTRAINTS = 6
  end
end

#known_extensions::Array<::Google::Cloud::Security::PrivateCA::V1::CertificateExtensionConstraints::KnownCertificateExtension>

Returns Optional. A set of named X.509 extensions. Will be combined with additional_extensions to determine the full set of X.509 extensions.

Returns:



1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1494

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

  # Describes well-known X.509 extensions that can appear in a
  # {::Google::Cloud::Security::PrivateCA::V1::Certificate Certificate}, not
  # including the
  # {::Google::Cloud::Security::PrivateCA::V1::SubjectAltNames SubjectAltNames}
  # extension.
  module KnownCertificateExtension
    # Not specified.
    KNOWN_CERTIFICATE_EXTENSION_UNSPECIFIED = 0

    # Refers to a certificate's Key Usage extension, as described in [RFC 5280
    # section 4.2.1.3](https://tools.ietf.org/html/rfc5280#section-4.2.1.3).
    # This corresponds to the
    # {::Google::Cloud::Security::PrivateCA::V1::KeyUsage#base_key_usage KeyUsage.base_key_usage}
    # field.
    BASE_KEY_USAGE = 1

    # Refers to a certificate's Extended Key Usage extension, as described in
    # [RFC 5280
    # section 4.2.1.12](https://tools.ietf.org/html/rfc5280#section-4.2.1.12).
    # This corresponds to the
    # {::Google::Cloud::Security::PrivateCA::V1::KeyUsage#extended_key_usage KeyUsage.extended_key_usage}
    # message.
    EXTENDED_KEY_USAGE = 2

    # Refers to a certificate's Basic Constraints extension, as described in
    # [RFC 5280
    # section 4.2.1.9](https://tools.ietf.org/html/rfc5280#section-4.2.1.9).
    # This corresponds to the
    # {::Google::Cloud::Security::PrivateCA::V1::X509Parameters#ca_options X509Parameters.ca_options}
    # field.
    CA_OPTIONS = 3

    # Refers to a certificate's Policy object identifiers, as described in
    # [RFC 5280
    # section 4.2.1.4](https://tools.ietf.org/html/rfc5280#section-4.2.1.4).
    # This corresponds to the
    # {::Google::Cloud::Security::PrivateCA::V1::X509Parameters#policy_ids X509Parameters.policy_ids}
    # field.
    POLICY_IDS = 4

    # Refers to OCSP servers in a certificate's Authority Information Access
    # extension, as described in
    # [RFC 5280
    # section 4.2.2.1](https://tools.ietf.org/html/rfc5280#section-4.2.2.1),
    # This corresponds to the
    # {::Google::Cloud::Security::PrivateCA::V1::X509Parameters#aia_ocsp_servers X509Parameters.aia_ocsp_servers}
    # field.
    AIA_OCSP_SERVERS = 5

    # Refers to Name Constraints extension as described in
    # [RFC 5280
    # section 4.2.1.10](https://tools.ietf.org/html/rfc5280#section-4.2.1.10)
    NAME_CONSTRAINTS = 6
  end
end