Class: Google::Apis::PrivatecaV1::ExtendedKeyUsageOptions
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1::ExtendedKeyUsageOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/privateca_v1/classes.rb,
lib/google/apis/privateca_v1/representations.rb,
lib/google/apis/privateca_v1/representations.rb
Overview
KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value.
Instance Attribute Summary collapse
-
#client_auth ⇒ Boolean
(also: #client_auth?)
Corresponds to OID 1.3.6.1.5.5.7.3.2.
-
#code_signing ⇒ Boolean
(also: #code_signing?)
Corresponds to OID 1.3.6.1.5.5.7.3.3.
-
#email_protection ⇒ Boolean
(also: #email_protection?)
Corresponds to OID 1.3.6.1.5.5.7.3.4.
-
#ocsp_signing ⇒ Boolean
(also: #ocsp_signing?)
Corresponds to OID 1.3.6.1.5.5.7.3.9.
-
#server_auth ⇒ Boolean
(also: #server_auth?)
Corresponds to OID 1.3.6.1.5.5.7.3.1.
-
#time_stamping ⇒ Boolean
(also: #time_stamping?)
Corresponds to OID 1.3.6.1.5.5.7.3.8.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExtendedKeyUsageOptions
constructor
A new instance of ExtendedKeyUsageOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExtendedKeyUsageOptions
Returns a new instance of ExtendedKeyUsageOptions.
1211 1212 1213 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1211 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_auth ⇒ Boolean Also known as: client_auth?
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
1173 1174 1175 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1173 def client_auth @client_auth end |
#code_signing ⇒ Boolean Also known as: code_signing?
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
1180 1181 1182 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1180 def code_signing @code_signing end |
#email_protection ⇒ Boolean Also known as: email_protection?
Corresponds to OID 1.3.6.1.5.5.7.3.4. Officially described as "Email
protection".
Corresponds to the JSON property emailProtection
1187 1188 1189 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1187 def email_protection @email_protection end |
#ocsp_signing ⇒ Boolean Also known as: ocsp_signing?
Corresponds to OID 1.3.6.1.5.5.7.3.9. Officially described as "Signing OCSP
responses".
Corresponds to the JSON property ocspSigning
1194 1195 1196 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1194 def ocsp_signing @ocsp_signing end |
#server_auth ⇒ Boolean Also known as: server_auth?
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
1201 1202 1203 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1201 def server_auth @server_auth end |
#time_stamping ⇒ Boolean Also known as: time_stamping?
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
1208 1209 1210 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1208 def time_stamping @time_stamping end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1216 1217 1218 1219 1220 1221 1222 1223 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1216 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 |