class Google::Apis::PrivatecaV1::ExtendedKeyUsageOptions

KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value.

Attributes

client_auth[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as “TLS WWW client authentication”, though regularly used for non-WWW TLS. Corresponds to the JSON property `clientAuth` @return [Boolean]

client_auth?[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.2. Officially described as “TLS WWW client authentication”, though regularly used for non-WWW TLS. Corresponds to the JSON property `clientAuth` @return [Boolean]

code_signing[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as “Signing of downloadable executable code client authentication”. Corresponds to the JSON property `codeSigning` @return [Boolean]

code_signing?[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.3. Officially described as “Signing of downloadable executable code client authentication”. Corresponds to the JSON property `codeSigning` @return [Boolean]

email_protection[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as “Email protection”. Corresponds to the JSON property `emailProtection` @return [Boolean]

email_protection?[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as “Email protection”. Corresponds to the JSON property `emailProtection` @return [Boolean]

ocsp_signing[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as “Signing OCSP responses”. Corresponds to the JSON property `ocspSigning` @return [Boolean]

ocsp_signing?[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as “Signing OCSP responses”. Corresponds to the JSON property `ocspSigning` @return [Boolean]

server_auth[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as “TLS WWW server authentication”, though regularly used for non-WWW TLS. Corresponds to the JSON property `serverAuth` @return [Boolean]

server_auth?[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.1. Officially described as “TLS WWW server authentication”, though regularly used for non-WWW TLS. Corresponds to the JSON property `serverAuth` @return [Boolean]

time_stamping[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as “Binding the hash of an object to a time”. Corresponds to the JSON property `timeStamping` @return [Boolean]

time_stamping?[RW]

Corresponds to OID 1.3.6.1.5.5.7.3.8. Officially described as “Binding the hash of an object to a time”. Corresponds to the JSON property `timeStamping` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/privateca_v1/classes.rb, line 1161
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 1166
def update!(**args)
  @client_auth = args[:client_auth] if args.key?(:client_auth)
  @code_signing = args[:code_signing] if args.key?(:code_signing)
  @email_protection = args[:email_protection] if args.key?(:email_protection)
  @ocsp_signing = args[:ocsp_signing] if args.key?(:ocsp_signing)
  @server_auth = args[:server_auth] if args.key?(:server_auth)
  @time_stamping = args[:time_stamping] if args.key?(:time_stamping)
end