Class: Google::Apis::PrivatecaV1::EcKeyType
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1::EcKeyType
- 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
Describes an Elliptic Curve key that may be used in a Certificate issued from a CaPool.
Instance Attribute Summary collapse
-
#signature_algorithm ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EcKeyType
constructor
A new instance of EcKeyType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EcKeyType
Returns a new instance of EcKeyType.
1099 1100 1101 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1099 def initialize(**args) update!(**args) end |
Instance Attribute Details
#signature_algorithm ⇒ String
Optional. A signature algorithm that must be used. If this is omitted, any EC-
based signature algorithm will be allowed.
Corresponds to the JSON property signatureAlgorithm
1097 1098 1099 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1097 def signature_algorithm @signature_algorithm end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1104 1105 1106 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 1104 def update!(**args) @signature_algorithm = args[:signature_algorithm] if args.key?(:signature_algorithm) end |