class Google::Apis::PrivatecaV1beta1::CertificateConfig

A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.

Attributes

public_key[RW]

A PublicKey describes a public key. Corresponds to the JSON property `publicKey` @return [Google::Apis::PrivatecaV1beta1::PublicKey]

reusable_config[RW]

A ReusableConfigWrapper describes values that may assist in creating an X.509 certificate, or a reference to a pre-defined set of values. Corresponds to the JSON property `reusableConfig` @return [Google::Apis::PrivatecaV1beta1::ReusableConfigWrapper]

subject_config[RW]

These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate. Corresponds to the JSON property `subjectConfig` @return [Google::Apis::PrivatecaV1beta1::SubjectConfig]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1beta1/classes.rb, line 679
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 684
def update!(**args)
  @public_key = args[:public_key] if args.key?(:public_key)
  @reusable_config = args[:reusable_config] if args.key?(:reusable_config)
  @subject_config = args[:subject_config] if args.key?(:subject_config)
end