Class: Google::Cloud::Security::PrivateCA::V1::CertificateExtensionConstraints
- Inherits:
-
Object
- Object
- Google::Cloud::Security::PrivateCA::V1::CertificateExtensionConstraints
- 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
-
#additional_extensions ⇒ ::Array<::Google::Cloud::Security::PrivateCA::V1::ObjectId>
Optional.
-
#known_extensions ⇒ ::Array<::Google::Cloud::Security::PrivateCA::V1::CertificateExtensionConstraints::KnownCertificateExtension>
Optional.
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.
1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 |
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1392 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.
1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 |
# File 'proto_docs/google/cloud/security/privateca/v1/resources.rb', line 1392 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 |