class Google::Apis::PrivatecaV1::X509Parameters

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.

Attributes

additional_extensions[RW]

Optional. Describes custom X.509 extensions. Corresponds to the JSON property `additionalExtensions` @return [Array<Google::Apis::PrivatecaV1::X509Extension>]

aia_ocsp_servers[RW]

Optional. Describes Online Certificate Status Protocol (OCSP) endpoint addresses that appear in the “Authority Information Access” extension in the certificate. Corresponds to the JSON property `aiaOcspServers` @return [Array<String>]

ca_options[RW]

Describes values that are relevant in a CA certificate. Corresponds to the JSON property `caOptions` @return [Google::Apis::PrivatecaV1::CaOptions]

key_usage[RW]

A KeyUsage describes key usage values that may appear in an X.509 certificate. Corresponds to the JSON property `keyUsage` @return [Google::Apis::PrivatecaV1::KeyUsage]

policy_ids[RW]

Optional. Describes the X.509 certificate policy object identifiers, per https: //tools.ietf.org/html/rfc5280#section-4.2.1.4. Corresponds to the JSON property `policyIds` @return [Array<Google::Apis::PrivatecaV1::ObjectIdProp>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1/classes.rb, line 2670
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_v1/classes.rb, line 2675
def update!(**args)
  @additional_extensions = args[:additional_extensions] if args.key?(:additional_extensions)
  @aia_ocsp_servers = args[:aia_ocsp_servers] if args.key?(:aia_ocsp_servers)
  @ca_options = args[:ca_options] if args.key?(:ca_options)
  @key_usage = args[:key_usage] if args.key?(:key_usage)
  @policy_ids = args[:policy_ids] if args.key?(:policy_ids)
end