class Google::Apis::PrivatecaV1beta1::SubjectAltNames

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).

Attributes

custom_sans[RW]

Contains additional subject alternative name values. Corresponds to the JSON property `customSans` @return [Array<Google::Apis::PrivatecaV1beta1::X509Extension>]

dns_names[RW]

Contains only valid, fully-qualified host names. Corresponds to the JSON property `dnsNames` @return [Array<String>]

email_addresses[RW]

Contains only valid RFC 2822 E-mail addresses. Corresponds to the JSON property `emailAddresses` @return [Array<String>]

ip_addresses[RW]

Contains only valid 32-bit IPv4 addresses or RFC 4291 IPv6 addresses. Corresponds to the JSON property `ipAddresses` @return [Array<String>]

uris[RW]

Contains only valid RFC 3986 URIs. Corresponds to the JSON property `uris` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1beta1/classes.rb, line 2264
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 2269
def update!(**args)
  @custom_sans = args[:custom_sans] if args.key?(:custom_sans)
  @dns_names = args[:dns_names] if args.key?(:dns_names)
  @email_addresses = args[:email_addresses] if args.key?(:email_addresses)
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
  @uris = args[:uris] if args.key?(:uris)
end