class Google::Apis::PrivatecaV1::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::PrivatecaV1::PublicKey]

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::PrivatecaV1::SubjectConfig]

x509_config[RW]

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. Corresponds to the JSON property `x509Config` @return [Google::Apis::PrivatecaV1::X509Parameters]

Public Class Methods

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