class Google::Apis::PrivatecaV1beta1::CaOptions

Describes values that are relevant in a CA certificate.

Attributes

is_ca[RW]

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. Corresponds to the JSON property `isCa` @return [Boolean]

is_ca?[RW]

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. Corresponds to the JSON property `isCa` @return [Boolean]

max_issuer_path_length[RW]

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. Corresponds to the JSON property `maxIssuerPathLength` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1beta1/classes.rb, line 343
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/privateca_v1beta1/classes.rb, line 348
def update!(**args)
  @is_ca = args[:is_ca] if args.key?(:is_ca)
  @max_issuer_path_length = args[:max_issuer_path_length] if args.key?(:max_issuer_path_length)
end