class Google::Apis::PrivatecaV1::SubjectConfig

These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate.

Attributes

subject[RW]

Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate. Corresponds to the JSON property `subject` @return [Google::Apis::PrivatecaV1::Subject]

subject_alt_name[RW]

SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the “common name” in the distinguished name). Corresponds to the JSON property `subjectAltName` @return [Google::Apis::PrivatecaV1::SubjectAltNames]

Public Class Methods

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