Certificate Authority Service V1 API - Class Google::Cloud::Security::PrivateCA::V1::X509Parameters::CaOptions (v2.2.0)

Reference documentation and code samples for the Certificate Authority Service V1 API class Google::Cloud::Security::PrivateCA::V1::X509Parameters::CaOptions.

Describes the X.509 basic constraints extension, per RFC 5280 section 4.2.1.9

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#is_ca

def is_ca() -> ::Boolean
Returns
  • (::Boolean) — Optional. Refers to the "CA" boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate.

#is_ca=

def is_ca=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Refers to the "CA" boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate.
Returns
  • (::Boolean) — Optional. Refers to the "CA" boolean field in the X.509 extension. When this value is missing, the basic constraints extension will be omitted from the certificate.

#max_issuer_path_length

def max_issuer_path_length() -> ::Integer
Returns
  • (::Integer) — Optional. Refers to the path length constraint field in the 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 certificate.

#max_issuer_path_length=

def max_issuer_path_length=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. Refers to the path length constraint field in the 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 certificate.
Returns
  • (::Integer) — Optional. Refers to the path length constraint field in the 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 certificate.